Compare commits

1 Commits
Author SHA1 Message Date
Nixevol b37baa91f1 chore: 把 NixMsg 通道改到公网 2026-10-21 17:27:40 +08:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -132,7 +132,7 @@ func New(dir string) (*Store, error) {
func defaultData() Data { func defaultData() Data {
return Data{ return Data{
ServerURL: "http://127.0.0.1:8080", ServerURL: "http://127.0.0.1:8080",
NixURL: "ws://127.0.0.1:7443/mqtt", NixURL: "wss://nm.asio.asia/mqtt",
Trust: []string{}, Trust: []string{},
Local: []LocalShortcut{}, Local: []LocalShortcut{},
Published: []protocol.Shortcut{}, Published: []protocol.Shortcut{},
@@ -173,7 +173,7 @@ func (d *Data) normalize() {
d.ServerURL = "http://127.0.0.1:8080" d.ServerURL = "http://127.0.0.1:8080"
} }
if d.NixURL == "" { if d.NixURL == "" {
d.NixURL = "ws://127.0.0.1:7443/mqtt" d.NixURL = "wss://nm.asio.asia/mqtt"
} }
if d.Trust == nil { if d.Trust == nil {
d.Trust = []string{} d.Trust = []string{}
+1 -1
View File
@@ -9,7 +9,7 @@ export const useAppStore = defineStore('app', () => {
const endpointId = ref('') const endpointId = ref('')
const loggedIn = ref(false) const loggedIn = ref(false)
const serverUrl = ref('http://127.0.0.1:8080') const serverUrl = ref('http://127.0.0.1:8080')
const nixUrl = ref('ws://127.0.0.1:7443/mqtt') const nixUrl = ref('wss://nm.asio.asia/mqtt')
const accountUser = ref('') const accountUser = ref('')
const maxTtl = ref(2592000) const maxTtl = ref(2592000)
const maxSchedule = ref(31536000) const maxSchedule = ref(31536000)