forked from Mirrors/doipjs
Minor change
This commit is contained in:
parent
cbd86d81aa
commit
5c6b0e0507
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ const verify = async (uri, fingerprint, opts) => {
|
||||||
|
|
||||||
res = null
|
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)
|
res = await req(spData.proof.fetch ? spData.proof.fetch : spData.proof.uri)
|
||||||
|
|
||||||
switch (spData.proof.format) {
|
switch (spData.proof.format) {
|
||||||
|
|
Loading…
Reference in a new issue