mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 01:40:21 +08:00
use original request sources for endpoint conditions
This commit is contained in:
@@ -140,7 +140,7 @@ export interface BodyRuleConditionLeaf {
|
||||
path: string
|
||||
op: BodyRuleConditionOp
|
||||
value?: unknown // exists / not_exists 不需要 value
|
||||
source?: 'original' | 'current'
|
||||
source?: 'request_headers' // 不填表示请求体;填 request_headers 表示请求头
|
||||
}
|
||||
|
||||
export interface BodyRuleConditionAll {
|
||||
|
||||
Reference in New Issue
Block a user