Migrate CSP middleware to Next.js proxy convention.

Renames src/middleware.ts to src/proxy.ts per Next.js 16 deprecation guidance. CSP nonce behavior is unchanged; build no longer emits the middleware warning.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BigBodyCobain
2026-06-29 22:40:21 -06:00
parent 39ca498d88
commit 47faa1e488
7 changed files with 24 additions and 24 deletions
@@ -17,7 +17,7 @@ const excludedPaths = [
'.next',
'out',
'src/app/api',
'src/middleware.ts',
'src/proxy.ts',
];
function normalizeRelativePath(target) {