We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2404144 commit 5dd37baCopy full SHA for 5dd37ba
packages/runtime/src/templates/edge/next-dev.ts
@@ -98,7 +98,7 @@ const handler = async (req: Request, context: Context) => {
98
// We don't want to just try importing and use that to test,
99
// because that would also throw if there's an error in the middleware,
100
// which we would want to surface not ignore.
101
- if (await exists('../../iddleware.js')) {
+ if (await exists('../../middleware.js')) {
102
// These will be user code
103
const nextMiddleware = await import('../../middleware.js')
104
middleware = nextMiddleware.middleware
0 commit comments