feat(gateway): serve the mod jar under GET /downloads/*

This commit is contained in:
loki5512344 2026-09-29 18:39:39 +02:00
parent 192ef52eed
commit 54af71589a
Signed by: boba
GPG key ID: 253067914055423B
8 changed files with 127 additions and 2 deletions

View file

@ -21,6 +21,10 @@ pub fn config(accounts: &str, configs: &str) -> Config {
accounts_grpc_url: String::new(),
configs_http_url: configs.into(),
site_origin: "http://localhost:5173".into(),
downloads_dir: std::env::temp_dir()
.join("lovisual-downloads-test")
.display()
.to_string(),
trust_proxy: true,
}
}