This commit is contained in:
@@ -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))
|
||||||
|
Reference in New Issue
Block a user