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