filekey-fix
All checks were successful
deploy / deploy (push) Successful in 1m2s

This commit is contained in:
Untone 2024-10-22 21:15:29 +03:00
parent 0d9f82449c
commit 85d07fd98c

View File

@ -77,7 +77,7 @@ pub async fn proxy_handler(
thumbdata_save( thumbdata_save(
filedata.clone(), filedata.clone(),
&state, &state,
&base_filename, &filekey,
content_type.to_string(), content_type.to_string(),
) )
.await; .await;
@ -112,7 +112,7 @@ pub async fn proxy_handler(
content_type, content_type,
) )
.await; .await;
thumbdata_save(filedata.clone(), &state, &base_filename, content_type.to_string()) thumbdata_save(filedata.clone(), &state, &filekey, content_type.to_string())
.await; .await;
Ok(HttpResponse::Ok().content_type(content_type).body(filedata)) Ok(HttpResponse::Ok().content_type(content_type).body(filedata))