From 1640530ec8ad62ff0dd70ae4d9d9180b278ff101 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sat, 16 May 2026 17:38:30 -0300 Subject: [PATCH] fix(config): replace wildcard 192.168.* with exact IP in allowedDevOrigins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Next.js does not support glob patterns in allowedDevOrigins, so the wildcard was silently ignored — blocking HMR access from 192.168.0.250 and causing an infinite loading spinner on the login page when accessed from the LAN. --- next.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 34e209a73e..8c875b8228 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -133,7 +133,7 @@ const nextConfig = { "process", ], transpilePackages: ["@omniroute/open-sse", "@lobehub/icons"], - allowedDevOrigins: ["localhost", "127.0.0.1", "192.168.*"], + allowedDevOrigins: ["localhost", "127.0.0.1", "192.168.0.250"], typescript: { // TODO: Re-enable after fixing all sub-component useTranslations scope issues ignoreBuildErrors: true,