-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstaticwebapp.config.json
36 lines (36 loc) · 1.04 KB
/
staticwebapp.config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"$schema": "https://json.schemastore.org/staticwebapp.config.json",
"routes": [
{
"route": "favicon.ico",
"rewrite": "assets/img/favicon.ico",
"headers": {
"Cache-Control": "must-revalidate, no-transform, max-age=2592000"
}
},
{
"route": "assets/{stylesheets,javascripts}/*.min.{css,js}",
"headers": {
"Cache-Control": "public, immutable, no-transform, max-age=31536000"
}
},
{
"route": "assets/img/*.{svg,webp,png,ico}",
"headers": {
"Cache-Control": "must-revalidate, no-transform, max-age=2592000"
}
},
{
"route": "{stylesheets,javascripts}/*.{css,js}",
"headers": {
"Cache-Control": "must-revalidate, no-transform, max-age=2592000"
}
}
],
"trailingSlash": "auto",
"globalHeaders": {
"Cross-Origin-Opener-Policy": "same-origin",
"Permissions-Policy": "document-domain=(), storage-access=(self), attribution-reporting=(), interest-cohort=(), browsing-topics=()",
"Referrer-Policy": "same-origin"
}
}