mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-07 18:50:27 +08:00
优化代码
This commit is contained in:
@@ -860,7 +860,7 @@ func (this *HTTPRequest) Format(source string) string {
|
||||
}
|
||||
|
||||
// response.xxx.xxx
|
||||
dotIndex := strings.Index(suffix, ".")
|
||||
dotIndex = strings.Index(suffix, ".")
|
||||
if dotIndex < 0 {
|
||||
return "${" + varName + "}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user