How can I make 301 re directions from one url to another in NextJS application that is stored on Vercel?
I tried to add custom express server using server.js file but the re directions works only locally and then I read this at vercel: "A custom server can not be deployed on Vercel, the platform Next.js was made for." https://nextjs.org/docs/advanced-features/custom-server
Is there any way to make 301 re directions and still host my app on Vercel?