This commit is contained in:
parent
85d07fd98c
commit
c7f3a4ef42
|
@ -12,7 +12,7 @@ pub async fn proxy_handler(
|
|||
requested_res: web::Path<String>,
|
||||
state: web::Data<AppState>,
|
||||
) -> Result<HttpResponse, actix_web::Error> {
|
||||
warn!("\nGET {}", requested_res);
|
||||
warn!("\t>>>\tGET {}", requested_res);
|
||||
let normalized_path = match requested_res.ends_with("/webp") {
|
||||
true => requested_res.replace("/webp", ""),
|
||||
false => requested_res.to_string(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user