From 39c0e0d7fbe62060dc64144aab9ccaba74f2e913 Mon Sep 17 00:00:00 2001 From: Guillermo Roche Date: Wed, 14 Jan 2026 13:17:44 +0000 Subject: [PATCH] add configuration file in production --- src/config/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/mod.rs b/src/config/mod.rs index 99fbf15..2d440ee 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -3,4 +3,8 @@ pub mod mrproxy; pub mod server; pub(in crate::config) mod utils; +#[cfg(not(debug_assertions))] +pub const CONFIG_PATH: &str = "/etc/mrdeploy/config.toml"; + +#[cfg(debug_assertions)] pub const CONFIG_PATH: &str = "config/config.toml";