1 Commits
0.1.2 ... 0.1.3

Author SHA1 Message Date
39c0e0d7fb add configuration file in production 2026-01-14 13:17:44 +00:00

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";