From d3bb16a19250213729b8687d7267b737aa7f183e Mon Sep 17 00:00:00 2001 From: Antonio Date: Thu, 15 Jan 2026 14:10:57 +0100 Subject: [PATCH] fix: remove character for nethlink protocol --- src/main/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.ts b/src/main/main.ts index 50daf3f7..d478694c 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -546,7 +546,7 @@ async function attachProtocolListeners() { const cleanUrl = url.replace(/^nethlink:\/?\/?/, '') const [actionPart, queryString] = cleanUrl.split('?') - const action = actionPart.toLowerCase().trim() + const action = actionPart.toLowerCase().trim().replace(/\/$/, '') const params = new URLSearchParams(queryString || '') const to = params.get('to')