Skip to content

Commit e90b96a

Browse files
committed
enable cors for .well-known
1 parent 1dca97f commit e90b96a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

vercel.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"headers": [
3+
{
4+
"source": "/.well-known/(.*)",
5+
"headers": [
6+
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
7+
{ "key": "Access-Control-Allow-Origin", "value": "*" },
8+
{ "key": "Access-Control-Allow-Methods", "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT" },
9+
{ "key": "Access-Control-Allow-Headers", "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" }
10+
]
11+
}
12+
]
13+
}
14+

0 commit comments

Comments
 (0)