From 9d5f2c908ee3c91083a57b964236d0c41a5c41c9 Mon Sep 17 00:00:00 2001 From: DFobain Date: Fri, 18 Oct 2024 07:47:47 +0800 Subject: [PATCH] fix: deeplink adding feed does not work on Windows (#1002) Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com> --- apps/main/src/lib/router.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/main/src/lib/router.ts b/apps/main/src/lib/router.ts index 925c40e284..f42ee907a1 100644 --- a/apps/main/src/lib/router.ts +++ b/apps/main/src/lib/router.ts @@ -13,7 +13,8 @@ export const handleUrlRouting = (url: string) => { const { pathname, searchParams } = new URL(uri, "https://follow.dev") switch (pathname) { - case "/add": { + case "/add": + case "/add/": { const mainWindow = getMainWindow() if (!mainWindow) { createMainWindow()