feat: rename config/default.toml -> config/config.toml
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
f9d23cb3ef
commit
327ba35898
2 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ impl Settings {
|
||||||
pub fn new() -> Result<Self, ConfigError> {
|
pub fn new() -> Result<Self, ConfigError> {
|
||||||
let mut s = Config::new();
|
let mut s = Config::new();
|
||||||
|
|
||||||
const CURRENT_DIR: &str = "./config/default.toml";
|
const CURRENT_DIR: &str = "./config/config.toml";
|
||||||
const ETC: &str = "/etc/lpconductor/config.toml";
|
const ETC: &str = "/etc/lpconductor/config.toml";
|
||||||
|
|
||||||
if let Ok(path) = env::var("LPCONDUCTOR_CONFIG") {
|
if let Ok(path) = env::var("LPCONDUCTOR_CONFIG") {
|
||||||
|
|
Loading…
Reference in a new issue