mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
See: https://github.com/vercel/next.js/security/advisories/GHSA-ggv3-7p47-pfv8
14 lines
286 B
JavaScript
14 lines
286 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/rewrites/:path*',
|
|
destination: `http://127.0.0.1:${process.env.TEST_INTERMEDIARY_PORT}/rewrites/:path*`,
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|