From 290c2af40f6381716d3da3d5deaf811720cecf4f Mon Sep 17 00:00:00 2001 From: Martin Porwoll Date: Tue, 17 Feb 2026 17:23:35 +0000 Subject: [PATCH] fix(cors): add sv-frontend IP to CORS and CSRF whitelist Add http://10.10.181.104:3000 (sv-frontend staging) to allow cross-origin form submissions from the staging frontend to the CMS API. Co-Authored-By: Claude Opus 4.6 --- src/payload.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/payload.config.ts b/src/payload.config.ts index 6455abf..be93b0f 100644 --- a/src/payload.config.ts +++ b/src/payload.config.ts @@ -188,6 +188,7 @@ export default buildConfig({ 'http://localhost:3001', 'http://10.10.180.153:3000', 'http://10.10.180.153:3001', + 'http://10.10.181.104:3000', 'https://dev.zh3.de', 'https://porwoll.de', 'https://www.porwoll.de', @@ -199,6 +200,7 @@ export default buildConfig({ 'http://localhost:3001', 'http://10.10.180.153:3000', 'http://10.10.180.153:3001', + 'http://10.10.181.104:3000', 'https://dev.zh3.de', 'https://porwoll.de', 'https://www.porwoll.de',