diff --git a/src/jade/index.jade b/src/jade/index.jade index 98a140a..cf80f93 100644 --- a/src/jade/index.jade +++ b/src/jade/index.jade @@ -10,7 +10,7 @@ html meta(name='apple-mobile-web-app-capable', content='yes') script. - if(location.hostname === 'koodiklinikka.fi' && location.protocol !== 'https') { + if(location.hostname === 'koodiklinikka.fi' && location.protocol !== 'https:') { location.protocol = 'https'; } link(rel='apple-touch-icon', sizes='57x57', href='icons/apple-touch-icon-57x57.png')