Skip to content

Commit fde7c0b

Browse files
committed
fix: type error with allow_insecure importing node
1 parent 00f9982 commit fde7c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/plugin_juicity/juicity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class juicityClass {
201201
this.sharedStorage.sni = it
202202
})
203203
util.ifNotNull(url.searchParams.get("allow_insecure"), (it) => {
204-
if (it == "1" || it == "true") this.sharedStorage.allowInsecure = it
204+
if (it == "1" || it == "true") this.sharedStorage.allowInsecure = true
205205
})
206206
util.ifNotNull(url.searchParams.get("pinned_certchain_sha256"), (it) => {
207207
this.sharedStorage.pinnedCertchainSha256 = it

0 commit comments

Comments
 (0)