summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-12 12:28:09 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-12 12:28:09 +0000
commit8b7bd0a73f92c06e98902093e7ef5f12f974f882 (patch)
tree5f4c81b9ca2c58225b5061396e963cd5735b66ba /src/config.rs
parentaf90ce3578cc46045d96938c9193f4ab8b9faccc (diff)
Uploaded files routing
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index fd85d91..02ae63d 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -3,4 +3,4 @@
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";
-pub const UPLOADS_ENDPOINT: &str = "http://localhost:3000/uploads";
+pub const UPLOADS_ENDPOINT: &str = "/uploads";