-
-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathnetlify.toml
More file actions
executable file
·73 lines (54 loc) · 1.82 KB
/
netlify.toml
File metadata and controls
executable file
·73 lines (54 loc) · 1.82 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
[build]
base = "/"
command = "pnpm i && pnpm --filter @reactuses/core run build && pnpm --filter website-astro run build"
publish = "packages/website-astro/dist"
# Redirect /sitemap.xml to sitemap index
[[redirects]]
from = "/sitemap.xml"
to = "/sitemap-index.xml"
status = 301
[build.environment]
NPM_FLAGS = "--version"
NODE_OPTIONS = "--max_old_space_size=4096"
NODE_VERSION = "22"
[build.processing]
skip_processing = false
[build.processing.css]
bundle = false
minify = false
[build.processing.js]
bundle = false
minify = false
[build.processing.html]
pretty_urls = false
[build.processing.images]
compress = true
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "*.js"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "*.css"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/img/*"
[headers.values]
Cache-Control = "public, max-age=604800"
[[headers]]
for = "*.html"
[headers.values]
Cache-Control = "public, max-age=3600"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
Permissions-Policy = "camera=(self), microphone=(self), geolocation=(self)"
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com https://www.clarity.ms https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdn.jsdelivr.net; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https://www.google-analytics.com https://*.algolia.net https://*.algolianet.com https://www.clarity.ms"