mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-14 08:20:25 +08:00
优化代码
This commit is contained in:
@@ -16,7 +16,7 @@ type HTTPRewriteRule struct {
|
||||
Mode string `field:"mode"` // 替换模式
|
||||
RedirectStatus uint32 `field:"redirectStatus"` // 跳转的状态码
|
||||
ProxyHost string `field:"proxyHost"` // 代理的主机名
|
||||
IsBreak uint8 `field:"isBreak"` // 是否终止解析
|
||||
IsBreak bool `field:"isBreak"` // 是否终止解析
|
||||
WithQuery uint8 `field:"withQuery"` // 是否保留URI参数
|
||||
Conds dbs.JSON `field:"conds"` // 匹配条件
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user