diff --git a/components/status/StatusPreviewCardNormal.vue b/components/status/StatusPreviewCardNormal.vue index f52d6972..88e82013 100644 --- a/components/status/StatusPreviewCardNormal.vue +++ b/components/status/StatusPreviewCardNormal.vue @@ -27,7 +27,7 @@ const providerName = $computed(() => { if (props.card.providerName) { finalProviderName = props.card.providerName if (props.cleanSharedLink && finalProviderName !== props.cleanSharedLink) - finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink.replace('https://', '')}` + finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink.replace(/^https?:\/\//, '')}` } return finalProviderName