-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
36 lines (29 loc) · 824 Bytes
/
Copy pathnetlify.toml
File metadata and controls
36 lines (29 loc) · 824 Bytes
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
[build]
command = "npm run build"
publish = "dist"
[functions]
directory = "netlify/functions"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-src 'self'; object-src 'none'; base-uri 'none'; form-action 'self'; frame-ancestors 'none'"
Permissions-Policy = "camera=(), geolocation=(), microphone=(), payment=(), usb=()"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"
[[redirects]]
from = "/mcp"
to = "/.netlify/functions/mcp"
status = 200
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/pages/:splat"
status = 200
force = true
[[redirects]]
from = "/p/*"
to = "/index.html"
status = 200
[[redirects]]
from = "/admin"
to = "/index.html"
status = 200