AzureLTIAssessmentApp/client/staticwebapp.config.json

23 строки
318 B
JSON

{
"routes": [
{
"route": "/api/*",
"methods": ["GET", "POST", "PUT"]
},
{
"route": "/spa/*",
"rewrite": "/"
},
{
"route": "/login",
"rewrite": "/"
}
],
"responseOverrides": {
"401": {
"redirect": "/login",
"statusCode": 302
}
}
}