From cc70ceeac18151d0c2ccc1fcfc714210a621a0e3 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 4 Nov 2026 21:53:25 +0000 Subject: [PATCH] The preview's Server Actions allow-list names only the preview's hosts #4 shipped a third entry, abc123def456.orun-preview.app:13000: a test-only origin for the local gateway stand-in, which carries a port. It was never meant to leave the check. It was dev-only and unroutable, so nothing could use it; this drops it, leaving *.orun-preview.app and preview-gateway-stage.oruncloud.workers.dev. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019PcpNV6SjymJBPv3nNkC4z --- apps/web/next.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 27a1965..49cc606 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -60,7 +60,7 @@ const nextConfig: NextConfig = { // build` runs with NODE_ENV=production, so production keeps its // same-origin check. ...(process.env.NODE_ENV === "development" - ? { serverActions: { allowedOrigins: ["*.orun-preview.app", "preview-gateway-stage.oruncloud.workers.dev", "abc123def456.orun-preview.app:13000"] } } + ? { serverActions: { allowedOrigins: ["*.orun-preview.app", "preview-gateway-stage.oruncloud.workers.dev"] } } : {}), }, }