You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.3 KiB
53 lines
1.3 KiB
5 months ago
|
{
|
||
|
"navigationFallback": {
|
||
|
"rewrite": "/index.html",
|
||
|
"exclude": ["/images/*.{png,jpg,gif}", "/css/*", "/js/*", "/static/*"]
|
||
|
},
|
||
|
"routes": [
|
||
|
{
|
||
|
"route": "/static/*",
|
||
|
"headers": {
|
||
|
"cache-control": "must-revalidate, max-age=15770000"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"route": "/login",
|
||
|
"rewrite": "/index.html"
|
||
|
},
|
||
|
{
|
||
|
"route": "/register",
|
||
|
"rewrite": "/index.html"
|
||
|
},
|
||
|
{
|
||
|
"route": "/tasks",
|
||
|
"rewrite": "/index.html"
|
||
|
},
|
||
|
{
|
||
|
"route": "/*",
|
||
|
"rewrite": "/index.html"
|
||
|
}
|
||
|
],
|
||
|
"responseOverrides": {
|
||
|
"404": {
|
||
|
"rewrite": "/index.html",
|
||
|
"statusCode": 200
|
||
|
}
|
||
|
},
|
||
|
"globalHeaders": {
|
||
|
"content-security-policy": "default-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.azurewebsites.net https://*.japaneast-01.azurewebsites.net https://*.azurestaticapps.net; connect-src 'self' https://*.azurewebsites.net https://*.japaneast-01.azurewebsites.net; img-src 'self' data:; font-src 'self' data:;",
|
||
|
"cache-control": "no-cache, no-store, must-revalidate"
|
||
|
},
|
||
|
"mimeTypes": {
|
||
|
".json": "application/json",
|
||
|
".html": "text/html",
|
||
|
".js": "text/javascript",
|
||
|
".css": "text/css",
|
||
|
".png": "image/png",
|
||
|
".jpg": "image/jpeg",
|
||
|
".svg": "image/svg+xml",
|
||
|
".ico": "image/x-icon"
|
||
|
},
|
||
|
"networking": {
|
||
|
"allowedIpRanges": []
|
||
|
}
|
||
|
}
|