Commit 38403196 authored by Ahoy's avatar Ahoy

Protocol

parent c783ed5f
Pipeline #18373906 passed with stages
in 1 minute and 6 seconds
......@@ -158,10 +158,7 @@ function yo(sel) {
i.setAttribute('height', h);
yohoho.setAttribute('style', style);
var protocol = (window && window.top && window.top.location && window.top.location.protocol)
? window.top.location.protocol
: 'http';
httpGetAsync(protocol + '//4h0y.yohoho.cc', p,
httpGetAsync('https://4h0y.yohoho.cc', p,
function (players) {
var first = true;
var buttons = document.createElement('div');
......
Markdown is supported
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