Fixed little bug for url prefix

This commit is contained in:
Maurice committed 2022-11-03 18:42:00 +01:00
1 parent c375e0ccd7
commit 4a6317dda9
2 files changed
+2 -2

No files matched your search

+1 -1
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
};