Remove code that relies on v4 cookie redirects#10501
Remove code that relies on v4 cookie redirects#10501sarah11918 merged 2 commits intowithastro:mainfrom
Conversation
✅ Deploy Preview for astro-docs-2 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
sarah11918
left a comment
There was a problem hiding this comment.
Thank you for catching this @tylerlwsmith , and for taking the time to come update the code sample! We really appreciate it, and are happy to welcome you to Team Docs! 🥳
Description (required)
Astro 5 removed introduced a breaking change where failed actions no longer redirect back to the page where a form was submitted.
This PR modifies an "actions" example that relied on the v4 behavior, making it work with Astro v5.
Related issues & labels (optional)
N/Acode snippet update