feat: remove url protocol

This commit is contained in:
Ayo 2023-01-29 10:00:38 +01:00
parent f99d88a9e3
commit ba4f6e9e1a

View file

@ -27,7 +27,7 @@ const providerName = $computed(() => {
if (props.card.providerName) { if (props.card.providerName) {
finalProviderName = props.card.providerName finalProviderName = props.card.providerName
if (props.cleanSharedLink && finalProviderName !== props.cleanSharedLink) if (props.cleanSharedLink && finalProviderName !== props.cleanSharedLink)
finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink}` finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink.replace('https://', '')}`
} }
return finalProviderName return finalProviderName