@@ -0,0 +1,3 @@
|
||||
export function isSubdomain(host: string): boolean {
|
||||
return (host.replace('www.', '').match(/\./g) || []).length > 1;
|
||||
}
|
||||
Reference in New Issue
Block a user
@@ -0,0 +1,3 @@
|
||||
export function isSubdomain(host: string): boolean {
|
||||
return (host.replace('www.', '').match(/\./g) || []).length > 1;
|
||||
}
|
||||