1.0
This commit is contained in:
18
xyzw_web_helper-main开源源码更新/staticwebapp.config.json
Normal file
18
xyzw_web_helper-main开源源码更新/staticwebapp.config.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"navigationFallback": {
|
||||
"rewrite": "/index.html",
|
||||
"exclude": ["/images/*.{png,jpg,gif}", "/css/*", "/js/*", "/*.{ico,svg,woff,woff2,ttf,eot}"]
|
||||
},
|
||||
"mimeTypes": {
|
||||
".json": "text/json"
|
||||
},
|
||||
"globalHeaders": {
|
||||
"Cache-Control": "no-cache"
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"route": "/api/*",
|
||||
"allowedRoles": ["anonymous"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user