diff --git a/agent/internal/store/store.go b/agent/internal/store/store.go index 5904657..8d16814 100644 --- a/agent/internal/store/store.go +++ b/agent/internal/store/store.go @@ -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{} diff --git a/ui/src/stores/app.ts b/ui/src/stores/app.ts index 0e22a29..82407b3 100644 --- a/ui/src/stores/app.ts +++ b/ui/src/stores/app.ts @@ -9,7 +9,7 @@ export const useAppStore = defineStore('app', () => { const endpointId = ref('') const loggedIn = ref(false) 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 maxTtl = ref(2592000) const maxSchedule = ref(31536000)