mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Chore: use mixed-port instead of port when initial config (#1319)
This commit is contained in:
parent
109bfcb0f9
commit
1f593d37fb
|
@ -66,7 +66,7 @@ func Init(dir string) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("can't create file %s: %s", C.Path.Config(), err.Error())
|
||||
}
|
||||
f.Write([]byte(`port: 7890`))
|
||||
f.Write([]byte(`mixed-port: 7890`))
|
||||
f.Close()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user