feat(gateway): serve the mod jar under GET /downloads/*
This commit is contained in:
parent
192ef52eed
commit
54af71589a
8 changed files with 127 additions and 2 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue