Skip to content

Commit 7f616fc

Browse files
author
remote-swe-app[bot]
committed
Change Next.js middleware runtime to nodejs
- Add runtime: 'nodejs' to middleware config - Supports Node.js runtime instead of Edge runtime - Compatible with Next.js v15.5+
1 parent b76d122 commit 7f616fc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

webapp/src/middleware.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export async function middleware(request: NextRequest) {
2727
}
2828

2929
export const config = {
30+
runtime: 'nodejs',
3031
matcher: [
3132
/*
3233
* Match all request paths except for the ones starting with:

0 commit comments

Comments
 (0)