Fix bad interpretation of proxy policy

This commit is contained in:
Yarmo Mackenbach 2021-04-26 11:38:35 +02:00
parent 88cee8993a
commit ffbae32a55
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -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')