Skip to content

Commit

Permalink
feat(website): Handle uppercase domain names (#7191)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 authored Nov 27, 2024
1 parent 14c4d3c commit cfa0855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/app/service/website_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ func getWebsiteDomains(domains []request.WebsiteDomain, defaultPort int, website
if err != nil {
return
}
domainModel.Domain = strings.ToLower(domainModel.Domain)
domainModel.Port = domain.Port
if domain.Port == 0 {
domain.Port = defaultPort
Expand Down

0 comments on commit cfa0855

Please sign in to comment.