mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user