Next.js Discord

Discord Forum

How to intercept route with url /route/http://url.com?

Unanswered
Fire ant posted this in #help-forum
Open in Discord
Fire antOP
I have a route to catch url like
/goto/https://website.com

This will give an error 404, i dont want to use url query parameter like:
/goto?url=https://website.com

1 Reply

have you considerd using catch all and then joining the array with /?