fix: add beforeFiles to rewrites config
This commit is contained in:
@@ -13,6 +13,8 @@ const nextConfig: NextConfig = {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
// beforeFiles rewrites are checked before pages/public files
|
// 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
|
// and after Next.js API routes - so API routes will work
|
||||||
afterFiles: [
|
afterFiles: [
|
||||||
// Nodes API (public endpoints)
|
// Nodes API (public endpoints)
|
||||||
|
|||||||
Reference in New Issue
Block a user