From a5db900d3f6273ba5c173f464e546114673705f6 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Tue, 10 Mar 2026 13:51:31 +0100 Subject: [PATCH] fix(config): add serverActions.allowedOrigins to fix Gatekeeper login on branch deploys --- next.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 0fda2008..8b1e9b76 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -16,6 +16,9 @@ const nextConfig = { cpus: 3, workerThreads: false, }, + serverActions: { + allowedOrigins: ["*.klz-cables.com", "*.branch.klz-cables.com", "localhost:3000", "klz.localhost"], + }, reactStrictMode: false, swcMinify: true, productionBrowserSourceMaps: false,