From 97e0fd9f43bba8262c70a664ba2a34bd3c725285 Mon Sep 17 00:00:00 2001 From: Justsnoopy30 Date: Wed, 19 Apr 2023 21:03:06 -0500 Subject: [PATCH] Always use https for wsrv.nl usage (#41) --- lib/helpers/parse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/parse.js b/lib/helpers/parse.js index 41f31963..5bb1d4ba 100644 --- a/lib/helpers/parse.js +++ b/lib/helpers/parse.js @@ -131,7 +131,7 @@ export const md = (options = {}) => { } catch (err) { /* empty */ } - token.attrs[index][1] = `//wsrv.nl/?url=${encodeURIComponent(src)}` + token.attrs[index][1] = `https://wsrv.nl/?url=${encodeURIComponent(src)}` } return defaultImageRenderer(tokens, idx, options, env, self)