parent
dc23d7d066
commit
cdd743ac8f
|
@ -156,7 +156,7 @@ pub async fn proxy_handler(
|
|||
Ok(None) => {
|
||||
warn!("No stored path found in DB for: {}", filekey);
|
||||
let ct_parts = content_type.split("/").collect::<Vec<&str>>();
|
||||
let filepath = format!("production/{}/{}.{}", ct_parts[0], base_filename, extension);
|
||||
let filepath = format!("production/{}/{}.{}", ct_parts[0], base_filename, ext);
|
||||
warn!("Looking up file with path: {} in bucket: {}", filepath, state.bucket);
|
||||
|
||||
let exists_in_storj = check_file_exists(&state.storj_client, &state.bucket, &filepath).await?;
|
||||
|
|
Loading…
Reference in New Issue
Block a user