Skip to content

Commit f07cb0e

Browse files
CRITICAL FIX: Completely remove middleware file to resolve deployment failures
- Deleted src/middleware.ts entirely instead of commenting it out - Next.js was still compiling and invoking empty middleware causing MIDDLEWARE_INVOCATION_FAILED - Middleware manifest now shows empty middleware object - Only og-image edge function remains (which is working correctly) Root cause: Next.js 15.3.4 compiles ANY middleware.ts file even if empty/commented Solution: Complete file removal to eliminate middleware from build process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 8812151 commit f07cb0e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/middleware.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)