mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
Add vercel.json
This commit is contained in:
parent
5d37810686
commit
f1c22f84a9
1 changed files with 16 additions and 0 deletions
16
vercel.json
Normal file
16
vercel.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"headers": [
|
||||
{
|
||||
"source": "/script.js/api/(.*)",
|
||||
"headers": [
|
||||
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
|
||||
{ "key": "Access-Control-Allow-Origin", "value": "https://withaffluent.com" },
|
||||
{ "key": "Access-Control-Allow-Methods", "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT" },
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue