aboutsummaryrefslogtreecommitdiff
path: root/base/src
diff options
context:
space:
mode:
Diffstat (limited to 'base/src')
-rw-r--r--base/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/src/lib.rs b/base/src/lib.rs
index 062b028..132fd45 100644
--- a/base/src/lib.rs
+++ b/base/src/lib.rs
@@ -12,11 +12,11 @@ use jellycommon::{config::GlobalConfig, AssetLocation};
use std::{fs::File, path::PathBuf, sync::LazyLock};
pub static CONF: LazyLock<GlobalConfig> = LazyLock::new(|| {
- serde_json::from_reader(
+ serde_yaml::from_reader(
File::open(
std::env::args()
.nth(1)
- .expect("First argument must specify the config.json to use."),
+ .expect("First argument must specify the configuration to use."),
)
.unwrap(),
)