@@ -123,7 +123,7 @@ pub async fn proxy_handler(
|
||||
// Создаем варианты путей с обоими регистрами расширения
|
||||
let paths_lower = vec![
|
||||
stored_path.clone(),
|
||||
format!("production/{}", stored_path),
|
||||
// format!("production/{}", stored_path),
|
||||
format!("production/{}/{}", media_type, stored_path)
|
||||
];
|
||||
|
||||
@@ -132,7 +132,7 @@ pub async fn proxy_handler(
|
||||
let orig_stored_path = format!("{}.{}", base_filename, orig_ext);
|
||||
let paths_orig = vec![
|
||||
orig_stored_path.clone(),
|
||||
format!("production/{}", orig_stored_path),
|
||||
// format!("production/{}", orig_stored_path),
|
||||
format!("production/{}/{}", media_type, orig_stored_path)
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user