fix: add beforeFiles to rewrites config
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user