-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvercel.json
More file actions
24 lines (24 loc) · 1.55 KB
/
Copy pathvercel.json
File metadata and controls
24 lines (24 loc) · 1.55 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
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "vite",
"rewrites": [
{
"source": "/(.*)",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "SAMEORIGIN" },
{ "key": "Permissions-Policy", "value": "microphone=(self), camera=(), geolocation=(), payment=(), interest-cohort=()" },
{ "key": "Strict-Transport-Security", "value": "max-age=31536000; includeSubDomains; preload" },
{ "key": "Content-Security-Policy-Report-Only", "value": "default-src 'self'; script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data: https:; media-src 'self' blob: data:; connect-src 'self' https://*.railway.app https://*.up.railway.app https://*.supabase.co wss://*.supabase.co https://api-js.mixpanel.com https://api.mixpanel.com https://texttospeech.googleapis.com https://eu-texttospeech.googleapis.com https://*.stt.speech.microsoft.com wss://*.stt.speech.microsoft.com https://*.tts.speech.microsoft.com https://*.cognitiveservices.azure.com wss://*.tts.speech.microsoft.com wss://*.cognitiveservices.azure.com https://cdn.jsdelivr.net; frame-src 'self'; worker-src 'self' blob:; object-src 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests" }
]
}
]
}