mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-23 23:10:26 +08:00
优化代码
This commit is contained in:
@@ -175,7 +175,7 @@ func (this *HTTPLocationDAO) ComposeLocationConfig(tx *dbs.Tx, locationId int64,
|
||||
config.Name = location.Name
|
||||
config.Pattern = location.Pattern
|
||||
config.URLPrefix = location.UrlPrefix
|
||||
config.IsBreak = location.IsBreak == 1
|
||||
config.IsBreak = location.IsBreak
|
||||
|
||||
// web
|
||||
if location.WebId > 0 {
|
||||
|
||||
Reference in New Issue
Block a user