-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flash not showing when redirecting from +layout.server.ts #10
Comments
Hi, I'm trying to reproduce, but pretty much the exact same code works for me on the test suite. Can you check the cookies in the request and in the browser afterwards, if the flash cookie (called flash) is present after redirect? You may have to circumvent |
Hopefully this will work in 1.0.0-rc.2, just released. |
I just updated and it doesn't seem to be any different. :/ I'll take another look through my code and see if there's something I'm doing wrong her.e |
It's still working for me, I'm happy to take a look at a MRE for it, if you cannot figure out what's wrong. |
Closing this since it's been about a month of inactivity. Feel free to open it again, or a new issue, if there still is a problem. |
I'm having trouble getting flash messages to show after a redirect.
+layout.svelte
I can see it show up.+layout.server.ts
, which provides a flash message, the redirect happens fine but the flash message doesn't show up on the page.Any help much appreciated.
+layout.server.ts
The text was updated successfully, but these errors were encountered: