diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-31 01:07:14 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-31 01:07:14 +0100 |
commit | 0288a7f4ebbca560312aa9b95af32232ed7153a9 (patch) | |
tree | e84a2781ed1127f22c9adac2ff8e15c86ff92a26 /common | |
parent | 07bab4d842d23908a34daf5adf96280a4002665a (diff) | |
download | jellything-0288a7f4ebbca560312aa9b95af32232ed7153a9.tar jellything-0288a7f4ebbca560312aa9b95af32232ed7153a9.tar.bz2 jellything-0288a7f4ebbca560312aa9b95af32232ed7153a9.tar.zst |
remove unused temp path from config
Diffstat (limited to 'common')
-rw-r--r-- | common/src/config.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/src/config.rs b/common/src/config.rs index 4ff1477..d7682df 100644 --- a/common/src/config.rs +++ b/common/src/config.rs @@ -17,7 +17,6 @@ pub struct GlobalConfig { #[serde(default = "return_true" )] pub tls: bool, #[serde(default = "default::asset_path")] pub asset_path: PathBuf, #[serde(default = "default::database_path")] pub database_path: PathBuf, - #[serde(default = "default::temp_path")] pub temp_path: PathBuf, #[serde(default = "default::cache_path")] pub cache_path: PathBuf, #[serde(default = "default::media_path")] pub media_path: PathBuf, #[serde(default = "default::secrets_path")] pub secrets_path: PathBuf, @@ -81,9 +80,6 @@ mod default { pub fn secrets_path() -> PathBuf { "data/secrets.yaml".into() } - pub fn temp_path() -> PathBuf { - "/tmp".into() - } pub fn max_in_memory_cache_size() -> usize { 50_000_000 } |