fix: factory ext
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ export class DomainFactory {
|
|||||||
newDomain(domain: string): Domain {
|
newDomain(domain: string): Domain {
|
||||||
return {
|
return {
|
||||||
name: domain,
|
name: domain,
|
||||||
extension: domain.split(".", 1)[1] ?? "",
|
extension: domain.split(".").slice(1).join("."),
|
||||||
searching: false,
|
searching: false,
|
||||||
available: true,
|
available: true,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user