Commit f07cb0e
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
1 file changed
+0
-6
lines changedThis file was deleted.
0 commit comments