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

This commit is contained in:
GoEdgeLab
2020-09-22 11:36:45 +08:00
parent 20fafde4ba
commit 9c51ec5885
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 {