-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
32 lines (29 loc) · 1.03 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
[build]
command = "npm run build"
publish = "dist"
[context.production.environment]
VITE_API_URL = "https://crypto-tracker-api-djbp.onrender.com"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Content-Security-Policy = """
default-src 'self' https://crypto-tracker-api-djbp.onrender.com https://api.coingecko.com;
script-src 'self' 'unsafe-inline' 'unsafe-eval';
style-src 'self' 'unsafe-inline';
img-src 'self' data: https:;
connect-src 'self' https://crypto-tracker-api-djbp.onrender.com https://api.coingecko.com;
font-src 'self';
object-src 'none';
media-src 'self';
form-action 'self';
frame-ancestors 'none';
"""
Permissions-Policy = "accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200