fix: point to LibrePages/conductor repo and fix SEPARATOR

This commit is contained in:
Aravinth Manivannan 2022-12-07 12:02:34 +05:30
parent 1fcded74c0
commit 82da016441
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -26,7 +26,7 @@ use serde::Serialize;
use url::Url; use url::Url;
const PREFIX: &str = "LPCONDUCTOR"; const PREFIX: &str = "LPCONDUCTOR";
const SEPARATOR: &str = "__"; const SEPARATOR: &str = "_";
#[derive(Debug, Clone, Deserialize)] #[derive(Debug, Clone, Deserialize)]
pub struct Server { pub struct Server {
@ -95,7 +95,7 @@ impl Settings {
Ok(val) => { Ok(val) => {
Ok(val) Ok(val)
}, },
Err(e) => Err(ConfigError::Message(format!("\n\nError: {}. If it says missing fields, then please refer to https://github.com/mCaptcha/mcaptcha#configuration to learn more about how mcaptcha reads configuration\n\n", e))), Err(e) => Err(ConfigError::Message(format!("\n\nError: {}. If it says missing fields, then please refer to https://git.batsense.net/LibrePages/conductor to learn more about how conductor reads configuration\n\n", e))),
} }
} }
} }