diff --git a/backend/next.config.js b/backend/next.config.js index 8a2c6eb..8609a71 100644 --- a/backend/next.config.js +++ b/backend/next.config.js @@ -12,6 +12,7 @@ const nextConfig = { }, { source: "/api/team", + destination: "/api/:path*", headers: [ { key: "Access-Control-Allow-Methods", value: "GET" }, ]