Reproduce the post from the real production origin and note the status.

Compare the Origin header sent by the browser with the host the SvelteKit server reports for the request.

If the app sits behind a proxy, make the proxy forward the original host and protocol, and configure the adapter origin settings to match.

Restart or redeploy and submit the form again from the public site.

If forms must be posted from a genuinely different site, handle that flow with an API route and your own CSRF protection instead of form actions.