mirror of
https://github.com/Noratrieb/upload.files.noratrieb.dev.git
synced 2026-01-14 17:55:02 +01:00
fix redirect
This commit is contained in:
parent
f0b2d83d59
commit
9f31fe53f0
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ async fn upload(State(config): State<Config>, multipart: Multipart) -> Result<Re
|
|||
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue