diff --git a/package.json b/package.json index fa225e38..26dbca30 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "lume", "description": "the communication app", "private": true, - "version": "1.2.6", + "version": "1.2.7", "scripts": { "dev": "vite", "build": "vite build", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index b4ae74bf..57f62ff0 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lume" -version = "1.2.6" +version = "1.2.7" description = "the communication app" authors = ["Ren Amamiya"] license = "GPL-3.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 9440a30c..4f66612d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "Lume", - "version": "1.2.6" + "version": "1.2.7" }, "tauri": { "allowlist": { diff --git a/src/libs/ndk/instance.ts b/src/libs/ndk/instance.ts index 5fb58aff..a1c6e4ba 100644 --- a/src/libs/ndk/instance.ts +++ b/src/libs/ndk/instance.ts @@ -26,8 +26,8 @@ export const NDKInstance = () => { const onlineRelays = new Set(relays); for (const relay of relays) { - const url = new URL(relay); try { + const url = new URL(relay); const res = await fetch(`https://${url.hostname}`, { method: 'GET', timeout: { secs: 5, nanos: 0 },