fix(config): replace wildcard 192.168.* with exact IP in allowedDevOrigins

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.
This commit is contained in:
diegosouzapw
2026-05-16 17:38:30 -03:00
parent 4913439d91
commit 1640530ec8

View File

@@ -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,