From 5c6b0e05075d19d3e2a86e773de02c0c615e54d1 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 25 Oct 2020 01:12:57 +0200 Subject: [PATCH] Minor change --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 5f12786..863d6db 100644 --- a/src/index.js +++ b/src/index.js @@ -41,7 +41,7 @@ const verify = async (uri, fingerprint, opts) => { res = null - if (!spData.proof.useProxy || 'forceDirectRequest' in opts && opts.forceDirectRequest) { + if (!spData.proof.useProxy || 'useProxyWhenNeeded' in opts && !opts.useProxyWhenNeeded) { res = await req(spData.proof.fetch ? spData.proof.fetch : spData.proof.uri) switch (spData.proof.format) {