feat: added static files routes to config.json

This commit is contained in:
2026-06-13 10:31:22 +02:00 Unverified
parent 34c713e8b3
commit feef498d9a
+8 -2
View File
@@ -40,7 +40,13 @@
"use_gzip": true, "use_gzip": true,
"use_brotli": false, "use_brotli": false,
"client_max_body_size": "50M", "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": [], "plugins": [],
"custom_config": { "custom_config": {
@@ -57,7 +63,7 @@
}, },
"uploads": { "uploads": {
"public_base_path": "/uploads", "public_base_path": "/uploads",
"reports_path": "uploads/reports" "reports_path": "reports"
}, },
"openapi": { "openapi": {
"spec_path": "build/openapi/visione.openapi.json" "spec_path": "build/openapi/visione.openapi.json"