fix redirect

This commit is contained in:
nora 2025-08-04 20:23:13 +02:00
parent f0b2d83d59
commit 9f31fe53f0

View file

@ -123,7 +123,7 @@ async fn upload(State(config): State<Config>, multipart: Multipart) -> Result<Re
info!(path = ?req.name, "Successfully uploaded file"); info!(path = ?req.name, "Successfully uploaded file");
Ok(Redirect::to(&format!("https://files.noratrieb.dev{}", req.name)).into_response()) Ok(Redirect::to(&format!("https://files.noratrieb.dev/{}", req.name)).into_response())
} }
struct UploadRequest { struct UploadRequest {