From 4f7a0c2a8c08c3ce122f644cdcaa49282712a7af Mon Sep 17 00:00:00 2001 From: Grovy311 Date: Fri, 7 Aug 2026 17:43:30 +0200 Subject: [PATCH] Local-only: allow cj-ki dev origin for HMR handshake Not part of the cable-sizing proposal. next.config.mjs allowedDevOrigins was scoped to the project owners own network; without cj-ki (192.168.0.133) listed, Next.js 16 rejects the client HMR WebSocket handshake from this host and the client-rendered pages (e.g. the circuit tree editor) hang on their loading state forever, even though plain HTTP/API requests work fine. Same root cause already documented for the sibling elt-planung-suite project. Should not be carried over if this branch is proposed upstream. --- next.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index e0610b9..486b23f 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -5,7 +5,8 @@ const nextConfig = { allowedDevOrigins: [ "192.168.3.13", "docker01.int.jappel.io", - "lb.jappel.io" + "lb.jappel.io", + "192.168.0.133" ], typescript: {