root-aws-folder
All checks were successful
deploy / deploy (push) Successful in 58s

This commit is contained in:
Untone 2024-10-23 17:01:44 +03:00
parent f28d65810d
commit b62b01190e

View File

@ -139,7 +139,7 @@ pub async fn proxy_handler(
Ok(None) => {
warn!("cannot find stored path for: {}", filekey);
let ct_parts = content_type.split("/").collect::<Vec<&str>>();
let filepath = format!("unsafe/production/{}/{}", ct_parts[0], filekey);
let filepath = format!("production/{}/{}", ct_parts[0], filekey);
match check_file_exists(&state.storj_client, &state.bucket, &filepath).await? {
true => {