change: use /var/lib/nyazoom by default

This commit is contained in:
Zynh Ludwig 2024-12-27 03:05:30 -08:00
parent 85bd1a3e6c
commit 6b96aa49b9

View file

@ -10,4 +10,4 @@ pub use views::*;
use std::{path::PathBuf, sync::LazyLock};
pub static CACHE_DIR: LazyLock<PathBuf> = LazyLock::new(|| PathBuf::from("./.cache/serve"));
pub static CACHE_DIR: LazyLock<PathBuf> = LazyLock::new(|| PathBuf::from("/var/lib/nyazoom/cache"));