Replies: 2 comments
-
|
By using doing this cause redirect to always work even in manual URL change visit but since the documentation of the auth does not say anything about this, I won't mark this as answer yet |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I think the breaking point is the redirect commenting redirect and navigating between |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In SolidStart documentation : https://docs.solidjs.com/solid-start/advanced/auth
I'm creating the project using
npm create solid@latest -- -st basicthis is the code in
about.tsxIf I visit
/aboutfor the first time it will properly redirect to/, clicking on theaboutnavigation will properly navigate back to/but if I manually change the url to/aboutafter being redirected to/it will cause this error in console and fail to redirect.Error: Cannot set headers after they are sent to the clientI don't know if this is intentional or not. I appreciate any answers
Beta Was this translation helpful? Give feedback.
All reactions