summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-04-09 18:50:55 -0400
committerAdam T. Carpenter <atc@53hor.net>2021-04-09 18:50:55 -0400
commit201a37e8d3d0ef4c59b184c0707ec8ddd301a25a (patch)
tree1aae6c03bfb9f694adea81510dacf586311fcc12 /src/config.rs
parent881e4bf3c9141b4bebaefaf6385652ed46d9a9fe (diff)
downloadtwinh-201a37e8d3d0ef4c59b184c0707ec8ddd301a25a.tar.xz
twinh-201a37e8d3d0ef4c59b184c0707ec8ddd301a25a.zip
spruced up templates, some repo impl
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 7798967..b3c9715 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1,7 +1,7 @@
use once_cell::sync::Lazy;
use std::{env::var, error::Error, net::SocketAddr};
-pub static INSTANCE: Lazy<AppConfig> =
+pub static CONFIG_INSTANCE: Lazy<AppConfig> =
Lazy::new(|| AppConfig::from_env().expect("Error loading config"));
#[derive(Clone, Debug)]