Always use https for wsrv.nl usage (#41)

This commit is contained in:
Justsnoopy30
2023-04-19 21:03:06 -05:00
committed by GitHub
parent ea536c5537
commit 97e0fd9f43

View File

@@ -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)