feat: added static files routes to config.json
This commit is contained in:
+8
-2
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user