diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 8b8c08eb..c78fd5b4 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -13,6 +13,8 @@ const nextConfig: NextConfig = { return { // beforeFiles rewrites are checked before pages/public files + beforeFiles: [], + // afterFiles rewrites are checked after pages/public files // and after Next.js API routes - so API routes will work afterFiles: [ // Nodes API (public endpoints)