fix(front): fix issue with already declared constants on release mode

- ensure not loading twice the same variables, namespace to ensure it in the future
 - end to end tests where successfull, need to check it is not reusing a previous release (in cache from build CI)
 - fix: #377 #378
This commit is contained in:
Edouard Vanbelle
2026-05-19 00:07:55 +02:00
parent 740b73bc8a
commit edbfe2848c
4 changed files with 11 additions and 6 deletions
+2
View File
@@ -128,6 +128,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
oxicloud::interfaces::middleware::trusted_proxy::log_config();
tracing::info!("OxiCloud v{}", env!("CARGO_PKG_VERSION"));
// Load configuration from environment variables
let config = common::config::AppConfig::from_env();