You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v5.1.1
Node v22.12.0
System macOS (arm64)
Package Manager npm
Output server
Adapter @astrojs/node
Integrations @astrojs/tailwind
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
In transition from 4.x to 5.x, I found I could not submit the form when testing in npx astro preview after the build, on macOS. Is it something we need to disable CORS?
Submit a form to the same origin threw Cross-site POST form submissions are forbidden which is weird.
What's the expected result?
Tested on localhost:8080 should continue to work as expected in 5.x?
Link to Minimal Reproducible Example
NA
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
In transition from 4.x to 5.x, I found I could not submit the form when testing in
npx astro preview
after the build, on macOS. Is it something we need to disable CORS?Submit a form to the same origin threw
Cross-site POST form submissions are forbidden
which is weird.What's the expected result?
Tested on
localhost:8080
should continue to work as expected in 5.x?Link to Minimal Reproducible Example
NA
Participation
The text was updated successfully, but these errors were encountered: