chore: 把 NixMsg 通道改到公网
This commit is contained in:
@@ -132,7 +132,7 @@ func New(dir string) (*Store, error) {
|
||||
func defaultData() Data {
|
||||
return Data{
|
||||
ServerURL: "http://127.0.0.1:8080",
|
||||
NixURL: "ws://127.0.0.1:7443/mqtt",
|
||||
NixURL: "wss://nm.asio.asia/mqtt",
|
||||
Trust: []string{},
|
||||
Local: []LocalShortcut{},
|
||||
Published: []protocol.Shortcut{},
|
||||
@@ -173,7 +173,7 @@ func (d *Data) normalize() {
|
||||
d.ServerURL = "http://127.0.0.1:8080"
|
||||
}
|
||||
if d.NixURL == "" {
|
||||
d.NixURL = "ws://127.0.0.1:7443/mqtt"
|
||||
d.NixURL = "wss://nm.asio.asia/mqtt"
|
||||
}
|
||||
if d.Trust == nil {
|
||||
d.Trust = []string{}
|
||||
|
||||
Reference in New Issue
Block a user