Fixed little bug for url prefix
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user