This commit is contained in:
b1ek 2024-04-13 22:51:31 +10:00
parent 00b2cd06c7
commit 15f43303f6
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ impl Cache {
}
pub fn get_file_name<T: From<String>>() -> T {
match env::var("HEY_CACHE_PATH") {
match env::var("HEY_CACHE_FILENAME") {
Ok(v) => v,
Err(_) => "cache.json".into()
}.into()