Fix: enable *.local to use Real IP
Some checks failed
Build / Build (push) Has been cancelled
Build / Diff output (push) Has been cancelled
Build / Deploy to Cloudflare Pages (3.114.12) (push) Has been cancelled
Build / Deploy to GitHub and GitLab (push) Has been cancelled
Build / Remove Artifacts after Deployment (push) Has been cancelled

This commit is contained in:
SukkaW
2025-12-17 11:38:43 +08:00
parent 66c30c6b3d
commit 524535258f

View File

@@ -51,9 +51,9 @@ export const LAN = {
// Some app like OrbStack uses mDNS and this TLD (orb.local) via mDNS. // Some app like OrbStack uses mDNS and this TLD (orb.local) via mDNS.
// Surge already handles .local with mDNS properly, we should not map to server:system // Surge already handles .local with mDNS properly, we should not map to server:system
LOCAL_SPECIAL: { LOCAL_SPECIAL: {
dns: null, dns: null, // disable DNS server for now. In the future we might wannna explicitly specify `server: force-syslib`
hosts: {}, hosts: {},
realip: false, realip: true,
ruleset: false, ruleset: false,
domains: [ domains: [
'+local' '+local'