去除端口注释

This commit is contained in:
suwings 2018-01-26 20:24:34 +08:00
parent 35edede3b0
commit a803812f76

View File

@ -9,7 +9,6 @@ if (window.MCSERVER == undefined) window.MCSERVER = {};
MCSERVER.URL = function (url, protocol) {
var _protocol = protocol || 'http://';
var hostName = window.location.host;
// var port = 23333;
var openURL = hostName + '/' + url;
return _protocol + openURL;
};