bfd36bd227
This updates to use the new `fallback` rewrites support instead of the previous no-op rewrite workaround. ## Documentation / Examples - [x] Make sure the linting passes
12 lines
227 B
JavaScript
12 lines
227 B
JavaScript
module.exports = {
|
|
async rewrites() {
|
|
return {
|
|
fallback: [
|
|
{
|
|
source: '/:path*',
|
|
destination: `https://custom-routes-proxying-endpoint.vercel.app/:path*`,
|
|
},
|
|
],
|
|
}
|
|
},
|
|
}
|