add configuration file in production

This commit is contained in:
2026-01-14 13:17:44 +00:00
parent 1b9fb6d551
commit 39c0e0d7fb

View File

@@ -3,4 +3,8 @@ pub mod mrproxy;
pub mod server; pub mod server;
pub(in crate::config) mod utils; 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"; pub const CONFIG_PATH: &str = "config/config.toml";