Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Always use https for wsrv.nl usage (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justsnoopy30 authored Apr 20, 2023
1 parent ea536c5 commit 97e0fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 97e0fd9

Please sign in to comment.