Skip to content

Commit a65742a

Browse files
committed
Fix wiki's SSL issue
fix wiki view Fix to the same issue that was effecting the aside wiki
1 parent f88a80c commit a65742a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ $(document).ready(function() {
389389
if (!main.isWikiAsideLoad) {
390390
var lang = window.location.toString().match(/\/\w{2}\//);
391391
lang = (lang) ? lang[0] : '/en/';
392-
var wikiURL = 'http://freecodecamp.github.io/wiki' + lang;
392+
var wikiURL = '//freecodecamp.github.io/wiki' + lang;
393393
var wikiAside = $('<iframe>');
394394
wikiAside.attr({
395395
src: wikiURL,

server/views/wiki/show.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ block content
44
script.
55
var lang = window.location.toString().match(/\/\w{2}\//);
66
lang = (lang) ? lang[0] : '/en/';
7-
$('#wikiFrame').attr('src','http://freecodecamp.github.io/wiki' + lang);
7+
$('#wikiFrame').attr('src','//freecodecamp.github.io/wiki' + lang);

0 commit comments

Comments
 (0)