Skip to content

Commit

Permalink
Vercel config in file
Browse files Browse the repository at this point in the history
  • Loading branch information
zetxek committed Dec 17, 2024
1 parent 6d7eec0 commit c6a6ccc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"buildCommand": "echo VERCEL_GIT_COMMIT_REF=$VERCEL_GIT_COMMIT_REF; if [ \"$VERCEL_GIT_COMMIT_REF\" == \"gh-pages\" ]; then echo \"Skipping build\" && exit 0; else echo \"Looking for build script\" && test -f vercel-build.sh && chmod +x vercel-build.sh && ./vercel-build.sh; fi; ",
"cleanUrls": true,
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "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" }
]
}
]
}

2 comments on commit c6a6ccc

@vercel
Copy link

@vercel vercel bot commented on c6a6ccc Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c6a6ccc Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checks for Deployment have failed

Please sign in to comment.