-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstaticwebapp.config.json
More file actions
105 lines (105 loc) · 3.11 KB
/
Copy pathstaticwebapp.config.json
File metadata and controls
105 lines (105 loc) · 3.11 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"$schema": "https://json.schemastore.org/staticwebapp.config.json",
"platform": {
"apiRuntime": "node:22"
},
"navigationFallback": {
"rewrite": "/shell.html",
"exclude": ["/api/*", "/*.{js,css,map,svg,ico,png,jpg,webp,woff,woff2,webmanifest,json}"]
},
"routes": [
{
"route": "/api/*",
"allowedRoles": ["anonymous", "authenticated"]
},
{
"route": "/s/*",
"headers": {
"X-Robots-Tag": "noindex"
}
},
{
"route": "/index.html",
"headers": {
"Cache-Control": "no-cache, must-revalidate"
}
},
{
"route": "/shell.html",
"headers": {
"Cache-Control": "no-cache, must-revalidate"
}
},
{
"route": "/404/index.html",
"headers": {
"Cache-Control": "no-cache, must-revalidate"
}
},
{
"route": "/ngsw.json",
"headers": {
"Cache-Control": "no-store"
}
},
{
"route": "/ngsw-worker.js",
"headers": {
"Cache-Control": "no-store"
}
},
{
"route": "/sw.js",
"headers": {
"Cache-Control": "no-store"
}
},
{
"route": "/build-info.json",
"headers": {
"Cache-Control": "no-store"
}
},
{
"route": "/assets/maintenance-banner.json",
"headers": {
"Cache-Control": "no-store"
}
},
{
"route": "/*.js",
"methods": ["GET"],
"headers": {
"Cache-Control": "public, max-age=31536000, immutable"
}
},
{
"route": "/*.css",
"methods": ["GET"],
"headers": {
"Cache-Control": "public, max-age=31536000, immutable"
}
},
{
"route": "/*.woff2",
"methods": ["GET"],
"headers": {
"Cache-Control": "public, max-age=31536000, immutable"
}
}
],
"mimeTypes": {
".webmanifest": "application/manifest+json",
".json": "application/json",
".map": "application/json"
},
"globalHeaders": {
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "SAMEORIGIN",
"X-XSS-Protection": "0",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"Referrer-Policy": "strict-origin-when-cross-origin",
"Permissions-Policy": "clipboard-read=(self), clipboard-write=(self)",
"Content-Security-Policy": "default-src 'self'; script-src 'self' 'unsafe-eval' 'sha256-XsNN9lxMnRGIVK2FQTRR0fRr2q9ZVaAoRx7GF+ggnEY=' 'sha256-3nRi4Jy+U2DUHFM6FuCHgQtSJ3Lv+mPkhlEOj+78CXE=' 'unsafe-hashes' 'sha256-MhtPZXr7+LpJUY5qtMutB+qWfQtMaPccfe7QXtCcEYc='; style-src 'self' 'unsafe-inline'; style-src-elem 'self' 'unsafe-inline'; style-src-attr 'unsafe-inline'; worker-src 'self' blob:; connect-src 'self' https://*.in.applicationinsights.azure.com https://*.livediagnostics.monitor.azure.com https://js.monitor.azure.com https://*.ciamlogin.com https://login.microsoftonline.com; frame-src 'self' https://*.ciamlogin.com https://login.microsoftonline.com; img-src 'self' data: blob:; font-src 'self' data:; manifest-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'self'; upgrade-insecure-requests"
}
}