From 32843018aa1e8cd56057dcd58b1ab96d4394b42f Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Wed, 4 Oct 2023 14:27:48 +0700 Subject: [PATCH] chore(release): v1.2.7 --- package.json | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- src/libs/ndk/instance.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index fa225e38b..26dbca302 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 b4ae74bf0..57f62ff0b 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 9440a30c1..4f66612d3 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 5fb58affd..a1c6e4ba0 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 },