#When using SSR Mode is there a way to redirect with props ?

2 messages · Page 1 of 1 (latest)

hushed pecan
#

Hello everyone,

as the title already says, I only know of the Astro.redirect() method which redirects to a specific page.

I want to build a error page which accepts different error messages and therefore I would have wanted to have a redirect with some props in my case the error message.

Is there a different approach to my solution or am I just doing it wrong ?

I would not like to use query params for that, as the url would look sort of wierd...

Thanks in advance,
David

prime geode