Skip to content

Commit

Permalink
fix cors issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Jan 2, 2025
1 parent c1bd6dc commit 648aebe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
10 changes: 1 addition & 9 deletions packages/app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ const nextConfig = {
},
{
source: "/api/permissions",
headers: [
{ key: "Access-Control-Allow-Credentials", value: "true" },
{ key: "Access-Control-Allow-Origin", value: "*" },
{ key: "Access-Control-Allow-Methods", value: "GET" },
{
key: "Access-Control-Allow-Headers",
value: "X-Requested-With, content-type, Authorization",
},
],
headers: [{ key: "Access-Control-Allow-Origin", value: "*" }],
},
]
},
Expand Down
2 changes: 1 addition & 1 deletion packages/deployments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
"installConfig": {
"hoistingLimits": "workspaces"
}
}
}
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@
"installConfig": {
"hoistingLimits": "workspaces"
}
}
}
2 changes: 1 addition & 1 deletion packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"installConfig": {
"hoistingLimits": "workspaces"
}
}
}

0 comments on commit 648aebe

Please sign in to comment.