Commit d8e1fb3
Change Next.js middleware runtime to nodejs (#64)
## Overview
Changed Next.js middleware runtime from the default Edge runtime to
Node.js runtime.
## Changes
- Added `runtime: 'nodejs'` to the config object in
`webapp/src/middleware.ts`
## Rationale
- Leverages the Node.js runtime feature supported in Next.js v15.5 and
later
- Enables access to richer Node.js APIs
## Testing
- Verified compatibility with Next.js v15.5.2
## References
- [Next.js Middleware Runtime
Documentation](https://nextjs.org/docs/app/api-reference/file-conventions/middleware#runtime)
Co-authored-by: remote-swe-app[bot] <123456+remote-swe-app[bot]@users.noreply.github.com>1 parent b76d122 commit d8e1fb3
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments