Skip to content

Commit a65a778

Browse files
committed
Fix start-server.ts
1 parent aaaa019 commit a65a778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/src/server/lib/start-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export async function startServer({
287287
handlersReady()
288288
} else {
289289
// when not using a worker start next in main process
290-
const { default: next } = require('../next') as typeof import('../next')
290+
const next = require('../next') as typeof import('../next').default
291291
const addr = server.address()
292292
const app = next({
293293
dir,

0 commit comments

Comments
 (0)