-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvercel.json
35 lines (35 loc) · 958 Bytes
/
vercel.json
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
{
"version": 2,
"builds": [
{ "src": "*.html", "use": "@vercel/static" },
{ "src": "*.js", "use": "@vercel/static" },
{ "src": "*.css", "use": "@vercel/static" },
{ "src": "data/**/*", "use": "@vercel/static" },
{ "src": "ra/**/*", "use": "@vercel/static" },
{ "src": "api/**/*.js", "use": "@vercel/node" }
],
"rewrites": [
{ "source": "/api/(.*)", "destination": "/api/$1" },
{ "source": "/data/(.*)", "destination": "/data/$1" },
{ "source": "/ra/(.*)", "destination": "/ra/$1" }
],
"env": {
"supabase_url": "supabase_url",
"supabase_anon_key": "supabase_anon_key"
},
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Frame-Options",
"value": "ALLOW-FROM https://www.youtube.com"
},
{
"key": "Content-Security-Policy",
"value": "frame-ancestors 'self' https://www.youtube.com"
}
]
}
]
}