diff --git a/src/router/upload.rs b/src/router/upload.rs index 6677062..d3d5ace 100644 --- a/src/router/upload.rs +++ b/src/router/upload.rs @@ -32,7 +32,7 @@ async fn upload_to_zip( ) -> Result { let cache_name = util::get_random_name(10); - let archive_path = Path::new(".cache/serve").join(format!("{}.zip", &cache_name)); + let archive_path = Path::new(".cache/serve").join(&cache_name); tracing::debug!("Zipping: {:?}", &archive_path);