add CD, fix warnings

This commit is contained in:
2026-04-17 16:09:42 +02:00
parent c29d5f5a9f
commit fc3806c334
11 changed files with 80 additions and 33 deletions

View File

@ -12,7 +12,7 @@ impl ServerConfig {
pub fn load() -> Self {
Self {
upload_folder: "./test/".to_string(),
db_url: std::env::var("DATABASE_URL").expect("missing DATABASE_URL"),
db_url: std::env::var("HTTPSERVER_DATABASE_URL").expect("missing HTTPSERVER_DATABASE_URL"),
upload_storage_limit_soft: 1024 * 1024 * 1024 * 200,
upload_storage_limit_hard: 1024 * 1024 * 1024 * 300,