-
Notifications
You must be signed in to change notification settings - Fork 0
/
staticwebapp.config.json
24 lines (24 loc) · 1.25 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
{
"trailingSlash": "auto",
"platform": {
"apiRuntime": "node:18"
},
"globalHeaders": {
"access-control-allow-origin": "*",
"content-security-policy": "default-src 'none'; connect-src 'self'; img-src 'self'; manifest-src 'self'; script-src 'unsafe-inline' 'self'; style-src 'unsafe-inline' 'self';",
"permissions-policy": "accelerometer=(), autoplay=(), camera=(), clipboard-read=(), clipboard-write=(), cross-origin-isolated=(), display-capture=(), encrypted-media=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), sync-xhr=(), usb=()",
"referrer-policy": "strict-origin-when-cross-origin",
"strict-transport-security": "max-age=31536000; includeSubDomains; preload",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "on",
"x-xss-protection": "1; mode=block"
},
"mimeTypes": {
".css": "text/css; charset=utf-8",
".html": "text/html; charset=utf-8",
".js": "text/javascript; charset=utf-8",
".json": "application/json; charset=utf-8",
".svg": "image/svg+xml; charset=utf-8",
".webmanifest": "application/manifest+json; charset=utf-8"
}
}