Server Action 405 Error on Static Pages - Reproduction

This reproduction demonstrates an issue where Server Actions return 405 on Vercel when used on statically generated pages.

Test Pages

Expected Behavior

Server Actions should work on statically generated pages. According to:

Actual Behavior

On Vercel deployment, submitting a form with a Server Action on a static page returns:

405 Method Not Allowed

The request has the correct next-action header but the static page rejects the POST.

Environment