mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-02 13:41:09 +00:00
allow multi level sudomains in domain picker
This commit is contained in:
parent
7a59e3acf7
commit
2ddb4ec905
7 changed files with 53 additions and 71 deletions
|
|
@ -261,14 +261,6 @@ async function createHttpResource(
|
|||
)
|
||||
);
|
||||
}
|
||||
if (parsedSubdomain.data.includes(".")) {
|
||||
return next(
|
||||
createHttpError(
|
||||
HttpCode.BAD_REQUEST,
|
||||
"Subdomain cannot contain a dot when using wildcard domains"
|
||||
)
|
||||
);
|
||||
}
|
||||
fullDomain = `${subdomain}.${domainRes.domains.baseDomain}`;
|
||||
} else {
|
||||
fullDomain = domainRes.domains.baseDomain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue