Commit 9470546c authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Remove automatic https replacement

parent e6b77126
Pipeline #1030 passed with stage
in 1 minute and 45 seconds
......@@ -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)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment