diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-08-16 10:02:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 10:02:41 -0700 |
commit | 79a68197697bfbeb2b942c6733d83a17dfc3e09b (patch) | |
tree | 056ab448015178c4eb248bceb6d8f2b9c3ead9fe /src/lib | |
parent | 884e5c92944a4d53c7e0d2847eabd576b080b4ae (diff) | |
download | voidsky-79a68197697bfbeb2b942c6733d83a17dfc3e09b.tar.zst |
Tune up the link card to look nicer, show more info, and layout horizontally on web to user space more nicely (#1190)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/strings/url-helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/strings/url-helpers.ts b/src/lib/strings/url-helpers.ts index 105c631bf..1406e2af0 100644 --- a/src/lib/strings/url-helpers.ts +++ b/src/lib/strings/url-helpers.ts @@ -30,7 +30,7 @@ export function toNiceDomain(url: string): string { if (`https://${urlp.host}` === PROD_SERVICE) { return 'Bluesky Social' } - return urlp.host + return urlp.host ? urlp.host : url } catch (e) { return url } |