forked from Mirrors/doipjs
Fix interpretation of proxy policy
This commit is contained in:
parent
41d3b16029
commit
304e25fed0
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ const handleBrowserRequests = (data, opts) => {
|
|||
case E.ProxyPolicy.ADAPTIVE:
|
||||
switch (data.proof.request.access) {
|
||||
case E.ProofAccess.GENERIC:
|
||||
return createDefaultRequestPromise(data, opts)
|
||||
return createFallbackRequestPromise(data, opts)
|
||||
break
|
||||
case E.ProofAccess.NOCORS:
|
||||
return createProxyRequestPromise(data, opts)
|
||||
|
|
Loading…
Reference in a new issue