From feef498d9a89ff53e4a41f346f3ac6b0b3b1331c Mon Sep 17 00:00:00 2001 From: ReLoia Date: Sat, 13 Jun 2026 10:31:22 +0200 Subject: [PATCH] feat: added static files routes to config.json --- config.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 88791df..7a79e78 100644 --- a/config.json +++ b/config.json @@ -40,7 +40,13 @@ "use_gzip": true, "use_brotli": false, "client_max_body_size": "50M", - "client_max_memory_body_size": "256K" + "client_max_memory_body_size": "256K", + "static_files": [ + { + "document_root": "./uploads", + "alias": "/uploads" + } + ] }, "plugins": [], "custom_config": { @@ -57,7 +63,7 @@ }, "uploads": { "public_base_path": "/uploads", - "reports_path": "uploads/reports" + "reports_path": "reports" }, "openapi": { "spec_path": "build/openapi/visione.openapi.json"