Updated webadmin location + Doc fixes

This commit is contained in:
mdecimus
2024-04-12 15:08:51 +02:00
parent 0e8961937e
commit 4ba65d6676
3 changed files with 5 additions and 3 deletions

View File

@@ -31,7 +31,8 @@ pub mod reload;
pub mod webadmin;
pub const SPAMFILTER_URL: &str = "https://get.stalw.art/resources/config/spamfilter.toml";
pub const WEBADMIN_URL: &str = "https://get.stalw.art/resources/webadmin.zip";
pub const WEBADMIN_URL: &str =
"https://github.com/stalwartlabs/webadmin/releases/latest/download/webadmin.zip";
pub const WEBADMIN_KEY: &[u8] = "STALWART_WEBADMIN".as_bytes();
async fn download_resource(url: &str) -> Result<Vec<u8>, String> {