mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-19 03:26:57 +00:00
Fix xorm regressions by handle wildcard certs correctly (#177)
close #176 Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/177
This commit is contained in:
parent
d8d119b0b3
commit
272c7ca76f
7 changed files with 162 additions and 29 deletions
|
@ -49,7 +49,7 @@ func (o *Options) CheckCanonicalDomain(giteaClient *gitea.Client, actualDomain,
|
|||
}
|
||||
}
|
||||
|
||||
// Add [owner].[pages-domain] as valid domnain.
|
||||
// Add [owner].[pages-domain] as valid domain.
|
||||
domains = append(domains, o.TargetOwner+mainDomainSuffix)
|
||||
if domains[len(domains)-1] == actualDomain {
|
||||
valid = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue