From 7892cff7fb962f0adb5e8a6941dbe97a5b1723bb Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 27 Apr 2024 05:07:50 +0100 Subject: [PATCH] Address feedback --- src/lib/strings/url-helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/strings/url-helpers.ts b/src/lib/strings/url-helpers.ts index 2422d8b626..075470c0c5 100644 --- a/src/lib/strings/url-helpers.ts +++ b/src/lib/strings/url-helpers.ts @@ -150,7 +150,7 @@ export function isBskyDownloadUrl(url: string): boolean { if (isExternalUrl(url)) { return false } - return url.endsWith('/download') + return url === '/download' || url.startsWith('/download?') } export function convertBskyAppUrlIfNeeded(url: string): string {