mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
feat(website): Handle uppercase domain names (#7191)
This commit is contained in:
parent
14c4d3c862
commit
cfa08556fa
@ -954,6 +954,7 @@ func getWebsiteDomains(domains []request.WebsiteDomain, defaultPort int, website
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
domainModel.Domain = strings.ToLower(domainModel.Domain)
|
||||||
domainModel.Port = domain.Port
|
domainModel.Port = domain.Port
|
||||||
if domain.Port == 0 {
|
if domain.Port == 0 {
|
||||||
domain.Port = defaultPort
|
domain.Port = defaultPort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user