forked from jmug/stoatchat
fix(core/config): use uppercase filename
This commit is contained in:
@@ -13,8 +13,8 @@ static CONFIG_BUILDER: Lazy<RwLock<Config>> = Lazy::new(|| {
|
|||||||
FileFormat::Toml,
|
FileFormat::Toml,
|
||||||
));
|
));
|
||||||
|
|
||||||
if std::path::Path::new("revolt.toml").exists() {
|
if std::path::Path::new("Revolt.toml").exists() {
|
||||||
builder = builder.add_source(File::new("revolt.toml", FileFormat::Toml));
|
builder = builder.add_source(File::new("Revolt.toml", FileFormat::Toml));
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.build().unwrap()
|
builder.build().unwrap()
|
||||||
|
|||||||
Reference in New Issue
Block a user