mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
Fix endpoint condition source handling
This commit is contained in:
@@ -140,7 +140,7 @@ export interface BodyRuleConditionLeaf {
|
||||
path: string
|
||||
op: BodyRuleConditionOp
|
||||
value?: unknown // exists / not_exists 不需要 value
|
||||
source?: 'request_headers' // 不填表示请求体;填 request_headers 表示请求头
|
||||
source?: 'body' | 'current' | 'original' | 'request_headers' | 'headers'
|
||||
}
|
||||
|
||||
export interface BodyRuleConditionAll {
|
||||
|
||||
Reference in New Issue
Block a user