fix: tld-list link with correct extension
Lint / Oxlint (push) Successful in 3m57s
Deploy / Build (push) Successful in 4m14s
Lint / TypeScript (push) Successful in 3m57s
Lint / ESLint (push) Successful in 4m7s
Deploy / Deploy to Stapler (push) Successful in 6m5s

This commit is contained in:
2026-06-26 14:28:22 +02:00
parent e5ab509c29
commit e883073ea7
3 changed files with 16 additions and 5 deletions
+2 -2
View File
@@ -62,7 +62,7 @@ function checkAvailability() {
function removeExt() {
if (domain.value) {
props.factory.removeExt(domain.value.extension);
props.factory.removeExtensions(domain.value.extension);
newDomain();
}
}
@@ -108,7 +108,7 @@ watch(i18n.locale, newDomain);
<div v-else-if="state === State.Ready && domain?.available" class="py-6">
{{ $t("this_domain") }} {{ $t("seems") }}
<a
:href="`https://tld-list.com/${$i18n.locale}/tld/${domain.name?.split('.')[1]}`"
:href="`https://tld-list.com/${$i18n.locale}/tld/${domain.extension}`"
target="_blank"
class="underline"
>{{ $t("available") }}</a