feat: load config from /etc/librepages/librepages

This commit is contained in:
Aravinth Manivannan 2022-12-30 03:25:53 +05:30
parent a421a6bbb4
commit 7eb622c29a
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ impl Settings {
let mut s = Config::builder();
const CURRENT_DIR: &str = "./config/default.toml";
const ETC: &str = "/etc/static-pages/config.toml";
const ETC: &str = "/etc/liberapages/librepages/config.toml";
let mut read_file = false;