summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 6449a3f..5783656 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1 +1,3 @@
pub static PAGE_LIMIT: i64 = 20;
+pub const MAX_UPLOAD_FILE_SIZE: u64 = 1024 * 1024; // 1 MB
+pub const SAVE_FILE_BASE_PATH: &str = "./uploads";