From 8b7bd0a73f92c06e98902093e7ef5f12f974f882 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 12 Sep 2022 14:28:09 +0200 Subject: Uploaded files routing --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.rs') 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"; -- cgit v1.2.3-71-g8e6c