summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-12 13:50:14 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-12 13:50:14 +0000
commit73cf44e4881c5f75e21dcd8196e03cb3f8edcee0 (patch)
tree27c468cd20a98965e7de178f1a4fcf03434e6f58
parent7828285d240f945f4b266b5f68ddeec0ec27c1b5 (diff)
Remove old config
-rw-r--r--src/config.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/config.rs b/src/config.rs
index 7e67214..0d266bf 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -2,14 +2,6 @@ pub use config::ConfigError;
use lazy_static::lazy_static;
use serde::Deserialize;
-// pub static PAGE_LIMIT: i64 = std::env::var("PAGE_LIMIT")
-// .unwrap_or_else(|_| "20".to_string())
-// .parse::<i64>()
-// .unwrap();
-// pub const MAX_UPLOAD_FILE_SIZE: u64 = 1024 * 1024; // 1 MB
-// pub const SAVE_FILE_BASE_PATH: &str = &std::env::var("SAVE_FILE_BASE_PATH").unwrap();
-// pub const UPLOADS_ENDPOINT: &str = &std::env::var("UPLOADS_ENDPOINT").unwrap();
-
#[derive(Deserialize)]
pub struct Configuration {
pub page_limit: i64,