rsnext/test/integration/env-config/app/next.config.js
JJ Kasper 61b68730f8
De-experimentalize custom-routes (#14602)
This moves the custom-routes configs outside of the experimental section to prepare them for being made stable

Fixes: https://github.com/vercel/next.js/issues/14184
2020-06-27 09:18:18 +00:00

12 lines
213 B
JavaScript

module.exports = {
// update me
async redirects() {
return [
{
source: '/hello',
permanent: false,
destination: `/${process.env.NEXT_PUBLIC_TEST_DEST}`,
},
]
},
}