heic-bypass
Some checks failed
deploy / deploy (push) Failing after 5s

This commit is contained in:
2024-11-13 12:03:32 +03:00
parent d0e70a7783
commit 0982dff45b
3 changed files with 27 additions and 25 deletions

View File

@@ -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)
];