fix: make unavailable sites clickable
Lint / Oxlint (push) Successful in 50s
Lint / TypeScript (push) Successful in 56s
Lint / ESLint (push) Successful in 56s
Deploy / Build (push) Successful in 1m48s
Deploy / Deploy to Stapler (push) Has been cancelled

This commit is contained in:
2026-06-17 17:30:43 +02:00
parent 95fd54ab75
commit a10b8bd7d1
5 changed files with 22 additions and 13 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ export class DomainFactory {
const word = this.randomWord(lang);
const domain = this.randomDomain(word);
if (domain) {
const output = { name: domain, searching: false, available: false };
const output = { name: domain, searching: false, available: true };
this.history.push(output);
resolve(output);
return;
@@ -91,7 +91,7 @@ export class DomainFactory {
) {
const domain = `${escapedWord.substring(0, escapedWord.length - tldEscaped.length)}.${tld}`;
if (!domain.includes("-.")) {
const output = { name: domain, searching: false, available: false };
const output = { name: domain, searching: false, available: true };
this.history.push(output);
domains.push(output);
}