-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
When you perform a server action and there is a navigate the defined headers on response gets lost #251
Labels
bug
Something isn't working
Comments
AlbertSabate
changed the title
When you perform a server action and there is a navigate the defined headers on request gets lost
When you perform a server action and there is a navigate the defined headers on response gets lost
Jun 17, 2024
I don't know at what point it is an issue or it is better to create a feature of Brisa, cookies should be added to the response and not to the request. |
Yep, correct. That was my fault. I meant response. So as you mentioned I followed https://brisa-mu.vercel.app/building-your-application/routing/middleware#on-response and make it work. Example:
|
For now we keep the responseHeaders to modify the headers of the actions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
The cookie 'access-token' should be defined, but it's not.
The text was updated successfully, but these errors were encountered: