Next.js Discord

Discord Forum

server redirects

Unanswered
Asian black bear posted this in #help-forum
Open in Discord
Asian black bearOP
module.exports = [
{
source: '/',
has: [{ type: 'cookie', key: 'testing' }],
destination: '/testing',
permanent: false,
},
]

Is there a way to carry query params over with this config if I click on a link that takes the user to http://localhost:8080/?utm=hello and redirects them to /testing? I am trying to persist the utm=hello param

1 Reply

Asian black bearOP
still looking for some help, thanks!