Tune up the link card to look nicer, show more info, and layout horizontally on web to user space more nicely (#1190)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user