This commit is contained in:
parent
0d9f82449c
commit
85d07fd98c
|
@ -77,7 +77,7 @@ pub async fn proxy_handler(
|
|||
thumbdata_save(
|
||||
filedata.clone(),
|
||||
&state,
|
||||
&base_filename,
|
||||
&filekey,
|
||||
content_type.to_string(),
|
||||
)
|
||||
.await;
|
||||
|
@ -112,7 +112,7 @@ pub async fn proxy_handler(
|
|||
content_type,
|
||||
)
|
||||
.await;
|
||||
thumbdata_save(filedata.clone(), &state, &base_filename, content_type.to_string())
|
||||
thumbdata_save(filedata.clone(), &state, &filekey, content_type.to_string())
|
||||
.await;
|
||||
|
||||
Ok(HttpResponse::Ok().content_type(content_type).body(filedata))
|
||||
|
|
Loading…
Reference in New Issue
Block a user