mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-15 00:30:24 +08:00
增加防盗链规则参数
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
|
||||
var singleParamRegexp = regexp.MustCompile("^\\${[\\w.-]+}$")
|
||||
|
||||
// rule
|
||||
// Rule
|
||||
type Rule struct {
|
||||
Description string `yaml:"description" json:"description"`
|
||||
Param string `yaml:"param" json:"param"` // such as ${arg.name} or ${args}, can be composite as ${arg.firstName}${arg.lastName}
|
||||
|
||||
Reference in New Issue
Block a user