feat: cache names no longer include .zip

This commit is contained in:
Zynh Ludwig 2024-11-21 16:39:23 -08:00
parent 814aaad260
commit 91cbca6b15

View file

@ -32,7 +32,7 @@ async fn upload_to_zip(
) -> Result<Response, (StatusCode, String)> {
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);