diff options
Diffstat (limited to 'src/templates.rs')
-rw-r--r-- | src/templates.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates.rs b/src/templates.rs index b551bf6..9fd2162 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -109,7 +109,7 @@ pub const INTERNAL_SERVER_ERROR: &str = const_format::concatcp!( ); pub fn file_page(file: File) -> String { - let href = format!("{}/download", file.id); + let href = format!("/share/{}/download", file.id); let expiration = file.expires_at.signed_duration_since(Local::now()); format!( |