Skip to content

Fix Vercel build warnings and update middleware conventions#811

Merged
jamespepper81 merged 3 commits into
mainfrom
dev
Jun 28, 2026
Merged

Fix Vercel build warnings and update middleware conventions#811
jamespepper81 merged 3 commits into
mainfrom
dev

Conversation

@jamespepper81

Copy link
Copy Markdown
Contributor

No description provided.

claude and others added 3 commits June 28, 2026 12:40
- Pin engines.node to "22.x" instead of open-ended ">=20.19.0" so the
  production Node major no longer auto-upgrades on new releases
- Remove redundant custom Cache-Control header on /_next/static/(.*);
  Next.js already sets immutable caching for its own build output
- Rename middleware file convention to proxy (Next.js 16): src/middleware.ts
  -> src/proxy.ts and export function middleware -> proxy

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H9xT1uB6VdMvgiG8mByk38
…gs-2bmrbr

Update Node.js requirement and refactor middleware setup
@jamespepper81 jamespepper81 merged commit e6d47e9 into main Jun 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants