From 82da016441e246ba9ce54f43cfa774cc316747ee Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Wed, 7 Dec 2022 12:02:34 +0530 Subject: [PATCH] fix: point to LibrePages/conductor repo and fix SEPARATOR --- src/settings.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings.rs b/src/settings.rs index 1506211..0dd19db 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -26,7 +26,7 @@ use serde::Serialize; use url::Url; const PREFIX: &str = "LPCONDUCTOR"; -const SEPARATOR: &str = "__"; +const SEPARATOR: &str = "_"; #[derive(Debug, Clone, Deserialize)] pub struct Server { @@ -95,7 +95,7 @@ impl Settings { 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))), } } }