Skip to content

Commit f6d24be

Browse files
committed
Fix proxy scheme validation
1 parent 4ae7a6f commit f6d24be

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/optionsSchema.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,17 @@
157157
"description": "Proxy requests to another server.",
158158
"anyOf": [
159159
{
160+
"items": {
161+
"anyOf": [
162+
{
163+
"type": "object"
164+
},
165+
{
166+
"instanceof": "Function"
167+
}
168+
]
169+
},
170+
"minItems": 1,
160171
"type": "array"
161172
},
162173
{

0 commit comments

Comments
 (0)