mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-04-03 13:53:34 +03:00
Fix: disable tproxy & redir by default
This commit is contained in:
parent
12c704d89c
commit
aef0b84275
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ const (
|
||||||
OverrideSlotSession
|
OverrideSlotSession
|
||||||
)
|
)
|
||||||
|
|
||||||
const defaultPersistOverride = `{"dns":{"enable": false}}`
|
const defaultPersistOverride = `{"dns":{"enable": false}, "redir-port": 0, "tproxy-port": 0}`
|
||||||
const defaultSessionOverride = `{}`
|
const defaultSessionOverride = `{}`
|
||||||
|
|
||||||
var sessionOverride = defaultSessionOverride
|
var sessionOverride = defaultSessionOverride
|
||||||
|
@ -65,4 +65,4 @@ func ClearOverride(slot OverrideSlot) {
|
||||||
case OverrideSlotSession:
|
case OverrideSlotSession:
|
||||||
sessionOverride = defaultSessionOverride
|
sessionOverride = defaultSessionOverride
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue