Skip to content

Commit

Permalink
Revert "Revert "Refactor Server Router" (vercel#40328)"
Browse files Browse the repository at this point in the history
This reverts commit d5e6eb1.
  • Loading branch information
ijjk committed Sep 7, 2022
1 parent b86bf07 commit daa4251
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 214 deletions.
1 change: 0 additions & 1 deletion packages/next/server/dev/next-dev-server.ts
Expand Up @@ -221,7 +221,6 @@ export default class DevServer extends Server {
for (const path in exportPathMap) {
const { page, query = {} } = exportPathMap[path]

// We use unshift so that we're sure the routes is defined before Next's default routes
this.router.addFsRoute({
match: getPathMatch(path),
type: 'route',
Expand Down

0 comments on commit daa4251

Please sign in to comment.