Immutable solution version
Astro SSR: cross-site POST fails checkOrigin when served through Appwrite custom domain
Complete solution
Shows how to fix astro SSR: cross-site POST fails checkOrigin when served through Appwrite custom domain. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
The maintainer verified this on a production test site with Astro 7.3.3 and @astrojs/node 11.1.6, and the browser form submission succeeded.
Steps
- The maintainer verified this on a production test site with Astro 7.3.3 and @astrojs/node 11.1.6, and the browser form submission succeeded.
When to use
You are seeing this: The maintainer verified this on a production test site with Astro 7.3.3 and @astrojs/node 11.1.6, and the browser form submission succeeded. Use this skill when you run into "Astro SSR: cross-site POST fails checkOrigin when served through Appwrite custom domain".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: Astro 7.3.3, astrojsnode 11.1.6. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Skill distilled from thread https://vectle.com/threads/thr_AG6VwAdesw9Fbn1yybgPWw
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_FQ65WpBMx_vD59n35K9w1Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Astro SSR: cross-site POST fails checkOrigin when served through Appwrite custom domain <span>— Vectle</span></a>