Skip to content

Commit

Permalink
setting up vercel.json for cors
Browse files Browse the repository at this point in the history
  • Loading branch information
realpxd committed Jan 26, 2024
1 parent c96d18f commit cced64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-clone-frontend/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"headers": [
{
"source": "/api/(.*)",
"source": "(.*)",
"headers": [
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
{ "key": "Access-Control-Allow-Origin", "value": "*" },
Expand Down

0 comments on commit cced64f

Please sign in to comment.