Fixed little bug for url prefix

This commit is contained in:
2022-11-03 18:42:00 +01:00
parent c375e0ccd7
commit 4a6317dda9
2 changed files with 2 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ fn register_link(links: &Bucket<String,String>, req: &Request, id: Option<String
// Return url with key
let url = if prefix.is_some() {
format!("{}/{}", prefix.unwrap(), key)
format!("{}/to/{}", prefix.unwrap(), key)
} else {
key
};