This commit is contained in:
parent
97911e034a
commit
30a2672ca8
|
@ -96,7 +96,7 @@ impl AppState {
|
|||
let filelist = get_s3_filelist(&self.storj_client, &self.storj_bucket).await;
|
||||
|
||||
for [filename, filepath] in filelist.clone() {
|
||||
if !filepath.starts_with("/development") {
|
||||
if !filepath.starts_with("development") {
|
||||
// Сохраняем список файлов в Redis, используя HSET для каждого файла
|
||||
let _: () = redis
|
||||
.hset(PATH_MAPPING_KEY, filename.clone(), filepath)
|
||||
|
|
Loading…
Reference in New Issue
Block a user