Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Dec 23, 2024
1 parent e13dfbe commit c1bd6dc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ 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",
},
],
},
]
},
}
Expand Down

0 comments on commit c1bd6dc

Please sign in to comment.