Chore: use mixed-port instead of port when initial config (#1319)

This commit is contained in:
Coel Wu 2021-04-01 15:35:33 +08:00 committed by GitHub
parent 109bfcb0f9
commit 1f593d37fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ func Init(dir string) error {
if err != nil { if err != nil {
return fmt.Errorf("can't create file %s: %s", C.Path.Config(), err.Error()) 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() f.Close()
} }