Skip to content
Snippets Groups Projects
Commit 9470546c authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Remove automatic https replacement

parent e6b77126
No related branches found
No related tags found
No related merge requests found
Pipeline #1030 passed
......@@ -51,12 +51,7 @@ renderer._link = renderer.link
module.exports = obj => {
console.log('Build step: Markdown')
renderer.link = (href_, title, text) => {
let href = href_
if (href.match(/^http:\/\/ok1kvk.cz/))
href = href.replace('http://', 'https://')
renderer.link = (href, title, text) => {
return renderer._link(href, title, text)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment