Skip to content

Commit

Permalink
fix: deeplink adding feed does not work on Windows (#1002)
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
  • Loading branch information
DFobain and hyoban authored Oct 17, 2024
1 parent 0e35d22 commit 9d5f2c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/main/src/lib/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9d5f2c9

Please sign in to comment.