mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Following up on https://github.com/vercel/next.js/pull/84119, this PR deprecated the user-facing middleware API and added a replacement Proxy API. --------- Co-authored-by: JJ Kasper <[email protected]>
12 lines
316 B
JavaScript
12 lines
316 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
// Explicitly configure deprecated options
|
|
skipMiddlewareUrlNormalize: true,
|
|
experimental: {
|
|
middlewarePrefetch: 'strict',
|
|
instrumentationHook: true,
|
|
middlewareClientMaxBodySize: '5mb',
|
|
externalMiddlewareRewritesResolve: true,
|
|
},
|
|
}
|