From 304e25fed0262d3dcf9b394b5985105403174772 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 30 Apr 2021 15:37:13 +0200 Subject: [PATCH] Fix interpretation of proxy policy --- src/proofs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proofs.js b/src/proofs.js index ce52c31..759db9c 100644 --- a/src/proofs.js +++ b/src/proofs.js @@ -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)