Skip to content

Commit f72363e

Browse files
committed
try vercel
1 parent aa69e43 commit f72363e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

vercel.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"buildCommand": "npm run build",
3+
"outputDirectory": "dist",
4+
"headers": [
5+
{
6+
"source": "/(.*\\.json)",
7+
"headers": [
8+
{ "key": "Access-Control-Allow-Origin", "value": "*" },
9+
{ "key": "Access-Control-Allow-Methods", "value": "GET, OPTIONS" },
10+
{ "key": "Content-Type", "value": "application/json" }
11+
]
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)