修改 - URL 定位器

This commit is contained in:
suwings 2018-04-29 20:28:47 +08:00
parent ae9452f86a
commit 268a2f59c5

View File

@ -12,15 +12,6 @@ MCSERVER.WS_PROTOCOL = 'ws://';
//HTTP 默认协议
MCSERVER.HTTP_PROTOCOL = 'http://';
// console.log([
// 'PROTOCOL: ',
// 'WS_PROTOCOL:',
// MCSERVER.WS_PROTOCOL,
// '| HTTP_PROTOCOL:',
// MCSERVER.HTTP_PROTOCOL
// ].join(" "));
//URL定位器
MCSERVER.URL = function (url, protocol) {
var _protocol = protocol || MCSERVER.HTTP_PROTOCOL;