mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 17:56:38 +00:00
@@ -1086,7 +1086,7 @@ async function getDomainId(
|
|||||||
|
|
||||||
// remove the base domain of the domain
|
// remove the base domain of the domain
|
||||||
let subdomain = null;
|
let subdomain = null;
|
||||||
if (domainSelection.type == "ns") {
|
if (domainSelection.type == "ns" || domainSelection.type == "wildcard") {
|
||||||
if (fullDomain != baseDomain) {
|
if (fullDomain != baseDomain) {
|
||||||
subdomain = fullDomain.replace(`.${baseDomain}`, "");
|
subdomain = fullDomain.replace(`.${baseDomain}`, "");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user