-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnetlify.toml
84 lines (70 loc) · 2.62 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
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
[build]
publish = "src"
command = "npm run build"
functions = "netlify/functions"
[[headers]]
for = "/dist/*"
[headers.values]
Cache-Control = "public, max-age=0, must-revalidate"
[[headers]]
for = "/*.js"
[headers.values]
Cache-Control = "public, max-age=0, must-revalidate"
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "public, max-age=0, must-revalidate"
[[headers]]
for = "/dist/bundle.js"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
Content-Type = "application/javascript"
[[headers]]
for = "/styles.css"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/images/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/fonts/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
Access-Control-Allow-Origin = "*"
[dev]
framework = "#custom"
command = "npm run start"
targetPort = 8000
port = 8888
publish = "src"
autoLaunch = true
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/api-handler/:splat"
status = 200
[functions]
directory = "netlify/functions"
[[headers]]
for = "/.netlify/functions/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "GET, POST, OPTIONS"
Access-Control-Allow-Headers = "Content-Type"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; script-src 'self' https://scripts.simpleanalyticscdn.com https://cdn.skypack.dev https://cdn.jsdelivr.net 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' https://*.respy.tech https://*.netlify.app https://api.rimunace.xyz https://api.electronhub.top https://helixmind.online https://nobrandai.com https://api.naga.ac https://api.shuttleai.app https://api.webraft.in https://api.llmplayground.net https://fresedgpt.space https://heckerai.com https://zukijourney.xyzbot.net https://shadowjourney.xyz https://app.oxyapi.uk https://test.skailar.it https://unified.hareproxy.io.vn https://g4f.pro https://voidai.xyz https://cablyai.com https://api.zanity.net;"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "camera=(), microphone=(), geolocation=()"