forked from Mirrors/doipjs
Fix bad interpretation of proxy policy
This commit is contained in:
parent
88cee8993a
commit
ffbae32a55
1 changed files with 1 additions and 3 deletions
|
@ -86,9 +86,7 @@ const handleBrowserRequests = (data, opts) => {
|
||||||
return createFallbackRequestPromise(data, opts)
|
return createFallbackRequestPromise(data, opts)
|
||||||
break
|
break
|
||||||
case E.ProofAccess.SERVER:
|
case E.ProofAccess.SERVER:
|
||||||
throw new Error(
|
return createProxyRequestPromise(data, opts)
|
||||||
'Impossible to fetch proof (bad combination of service access and proxy policy)'
|
|
||||||
)
|
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
throw new Error('Invalid proof access value')
|
throw new Error('Invalid proof access value')
|
||||||
|
|
Loading…
Reference in a new issue