Skip to content

Commit eaa6e2e

Browse files
author
scinorandex
committed
Revert broken vercel configuration
1 parent 9e36076 commit eaa6e2e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

now.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@
88
],
99
"routes": [
1010
{
11+
"headers": {
12+
"Access-Control-Allow-Origin": "*",
13+
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
14+
"Access-Control-Allow-Headers": "X-Requested-With, Content-Type, Accept"
15+
},
1116
"src": "/(.*)",
12-
"dest": "src/"
17+
"dest": "src/api.ts"
1318
}
1419
],
1520
"env": {

0 commit comments

Comments
 (0)