forked from javier123454321/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
30 lines (24 loc) · 1011 Bytes
/
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
[build]
command = "npm run build"
publish = "dist"
[context.production]
environment = { NODE_VERSION = "16.13.2", RUBY_VERSION = "2.7.1" }
[context.deploy-preview]
environment = { NODE_VERSION = "16.13.2", RUBY_VERSION = "2.7.1" }
[dev]
command = "npm run dev"
publish = "build"
port = 5173
targetPort = 8082
framework = "#custom"
[[headers]]
for = "/.well-known/*"
[headers.values]
Access-Control-Allow-Origin = "*"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self' https://fonts.gstatic.com https://fonts.googleapis.com https://rsms.me https://api.netlify.com; script-src-elem 'self' https://in.getclicky.com https://static.getclicky.com; style-src 'self' https://fonts.googleapis.com https://rsms.me 'unsafe-inline'; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://static.getclicky.com; worker-src 'self' blob: "
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"