Skip to content
Browse files

Fix wiki's SSL issue

fix wiki view

Fix to the same issue that was effecting the aside wiki
  • Loading branch information...
1 parent f88a80c commit a65742ad4597d947d1ed349616a0a2098d5e3d10 @benmcmahon100 benmcmahon100 committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 client/main.js
  2. +1 −1 server/views/wiki/show.jade
View
2 client/main.js
@@ -389,7 +389,7 @@ $(document).ready(function() {
if (!main.isWikiAsideLoad) {
var lang = window.location.toString().match(/\/\w{2}\//);
lang = (lang) ? lang[0] : '/en/';
- var wikiURL = 'http://freecodecamp.github.io/wiki' + lang;
+ var wikiURL = '//freecodecamp.github.io/wiki' + lang;
var wikiAside = $('<iframe>');
wikiAside.attr({
src: wikiURL,
View
2 server/views/wiki/show.jade
@@ -4,4 +4,4 @@ block content
script.
var lang = window.location.toString().match(/\/\w{2}\//);
lang = (lang) ? lang[0] : '/en/';
- $('#wikiFrame').attr('src','http://freecodecamp.github.io/wiki' + lang);
+ $('#wikiFrame').attr('src','//freecodecamp.github.io/wiki' + lang);

0 comments on commit a65742a

Please sign in to comment.
Something went wrong with that request. Please try again.