Skip to content

Commit 6e201c6

Browse files
committed
prelim vercel.json
1 parent 1281866 commit 6e201c6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

vercel.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"headers": [
3+
{
4+
"source": "/(.*)",
5+
"headers": [
6+
{
7+
"key": "Access-Control-Allow-Origin",
8+
"value": "*"
9+
},
10+
{
11+
"key": "Access-Control-Allow-Methods",
12+
"value": "GET, POST, PUT, DELETE, OPTIONS, PATCH"
13+
},
14+
{
15+
"key": "Access-Control-Allow-Headers",
16+
"value": "Content-Type, Authorization, X-Requested-With"
17+
},
18+
{
19+
"key": "Access-Control-Allow-Credentials",
20+
"value": "true"
21+
}
22+
]
23+
}
24+
],
25+
"rewrites": [
26+
{
27+
"source": "/(.*)",
28+
"destination": "/index.html"
29+
}
30+
]
31+
}
32+

0 commit comments

Comments
 (0)