Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Apr 27, 2024
1 parent 7b0174a commit 7892cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/strings/url-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7892cff

Please sign in to comment.