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)
|
||||
break
|
||||
case E.ProofAccess.SERVER:
|
||||
throw new Error(
|
||||
'Impossible to fetch proof (bad combination of service access and proxy policy)'
|
||||
)
|
||||
return createProxyRequestPromise(data, opts)
|
||||
break
|
||||
default:
|
||||
throw new Error('Invalid proof access value')
|
||||
|
|
Loading…
Reference in a new issue