The embedded mode sets VITE_BACKEND_URL=/datamart-builder/api (the nginx proxy path), but the runtime-config policy only allowed /api. This caused resolveBackendUrl() to throw at app startup, resulting in a blank SPA. Add /datamart-builder/api and /datamart-builder/api/ to relativeBases and test cases.
9 lines
336 B
JSON
9 lines
336 B
JSON
{
|
|
"relativeBases": ["", "/", "/api", "/api/", "/datamart-builder/api", "/datamart-builder/api/"],
|
|
"absolutePattern": "^https?://(?:\\[[0-9A-Fa-f:.]+\\]|[A-Za-z0-9](?:[A-Za-z0-9.-]*[A-Za-z0-9])?)(?::[0-9]+)?(?:/[^\\s?#]*)?/?$",
|
|
"maxPort": 65535,
|
|
"queryAllowed": false,
|
|
"fragmentAllowed": false,
|
|
"credentialsAllowed": false
|
|
}
|