Bug with redirect
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
Hello, pls tell me about redirects
I have this route /legasy?someParam=abracadabra
I should be redirected to actual/abracadabra
the value of the someParam parameter from /legasy?someParam=abracadabra, inserted after actual/
Now with this setup:
I have an extra parameter:
/actual/abracadabra?someParam=abracadabra
how resolve this problem?
I have this route /legasy?someParam=abracadabra
I should be redirected to actual/abracadabra
the value of the someParam parameter from /legasy?someParam=abracadabra, inserted after actual/
Now with this setup:
{
destination: `actual/:someParam`,
has: [{
type: "query",
key: "someParam",
},],
locale: false,
permanent: true,
source: "/legacy",
},I have an extra parameter:
/actual/abracadabra?someParam=abracadabra
how resolve this problem?