实现路径规则各项数据修改

This commit is contained in:
刘祥超
2020-09-22 11:36:45 +08:00
parent 449647698a
commit ed8d37518d
2 changed files with 28 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ func (this *HTTPLocationDAO) ComposeLocationConfig(locationId int64) (*servercon
config.Name = location.Name
config.Pattern = location.Pattern
config.URLPrefix = location.UrlPrefix
config.IsBreak = location.IsBreak == 1
// web
if location.WebId > 0 {