Skip to content

Commit a181e18

Browse files
swa update json exclude
1 parent 76793b9 commit a181e18

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

staticwebapp.config.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88
},
99
{
10-
"route": "*.{png,jpg,gif,json,xml,ico,css,js}",
10+
"route": "*.{png,jpg,gif,xml,ico,css,js}",
1111
"headers": {
1212
"cache-control": "must-revalidate, max-age=15770000"
1313
}
@@ -39,7 +39,11 @@
3939
"allowedRoles": ["admin", "editor", "readonly", "authenticated", "anonymous"]
4040
},
4141
{
42-
"route": "/api/AddStandardsDeploy",
42+
"route": "/api/AddStandardTemplate",
43+
"allowedRoles": ["admin"]
44+
},
45+
{
46+
"route": "/api/RemoveStandardTemplate",
4347
"allowedRoles": ["admin"]
4448
},
4549
{

0 commit comments

Comments
 (0)