Commit b7d8d89
fix(middleware): remove explicit runtime export
Middleware automatically runs on Edge runtime in Next.js 15+.
The explicit runtime='edge' export caused build error:
'the edge runtime for rendering is currently experimental'
Fix: Remove runtime export - middleware is Edge by default.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 7b8bfc7 commit b7d8d89
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments