-
Notifications
You must be signed in to change notification settings - Fork 4
/
netlify.toml
57 lines (48 loc) · 1.37 KB
/
netlify.toml
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
[build]
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm build"
publish = "build"
[build.environment]
NPM_FLAGS = "--version"
[functions]
node_bundler = "esbuild"
[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"
[[headers]]
for = "/assets/*"
[headers.values]
cache-control = '''
max-age=31536000,
immutable
'''
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "https://www.kwchang0831.dev"
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://*.kwchang0831.dev https://www.youtube.com/"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "usb=()"
[[redirects]]
from = "/.well-known/host-meta"
to = "https://fed.brid.gy/.well-known/host-meta"
status = 302
force = true
[[redirects]]
from = "/.well-known/host-meta.xrd"
to = "https://fed.brid.gy/.well-known/host-meta.xrd"
status = 302
force = true
[[redirects]]
from = "/.well-known/host-meta.jrd"
to = "https://fed.brid.gy/.well-known/host-meta.jrd"
status = 302
force = true
[[redirects]]
from = "/.well-known/webfinger"
to = "https://fed.brid.gy/.well-known/webfinger"
status = 302
force = true