Skip to content

Commit

Permalink
feat: remove Access-Control-Allow-Credentials header from API configu…
Browse files Browse the repository at this point in the history
…ration
  • Loading branch information
Rafacv23 committed Feb 1, 2025
1 parent 2088029 commit 42c7abc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ const nextConfig = {
{
source: "/api/:path*",
headers: [
{
key: "Access-Control-Allow-Credentials",
value: "true",
},
{
key: "Access-Control-Allow-Origin",
value: "https://f1api.dev",
Expand Down

0 comments on commit 42c7abc

Please sign in to comment.