mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-20 04:16:53 +08:00
fix: fix issue with update website config (#8611)
This commit is contained in:
parent
cd395b31bd
commit
27d7844004
1 changed files with 3 additions and 1 deletions
|
@ -528,7 +528,9 @@ func (w WebsiteService) UpdateWebsite(req request.WebsiteUpdate) error {
|
|||
}
|
||||
}
|
||||
website.PrimaryDomain = req.PrimaryDomain
|
||||
website.WebsiteGroupID = req.WebsiteGroupID
|
||||
if req.WebsiteGroupID != 0 {
|
||||
website.WebsiteGroupID = req.WebsiteGroupID
|
||||
}
|
||||
website.Remark = req.Remark
|
||||
website.IPV6 = req.IPV6
|
||||
website.Favorite = req.Favorite
|
||||
|
|
Loading…
Add table
Reference in a new issue