diff --git a/public/onlinefs_public/URL.js b/public/onlinefs_public/URL.js deleted file mode 100644 index 41465760..00000000 --- a/public/onlinefs_public/URL.js +++ /dev/null @@ -1,21 +0,0 @@ -//标准的URL定位器 -//如果你的程序不在根目录,可以考虑更改这里,或者你有什么其他姿势。 -//如果你需要反向代理加入SSL,请更改此处 - - -//某些 login 页面没有 MCSERVER 全局变量,在此实例化 -if (window.MCSERVER == undefined) window.MCSERVER = {}; - - -//Ws 默认协议 -MCSERVER.WS_PROTOCOL = 'ws://'; -//HTTP 默认协议 -MCSERVER.HTTP_PROTOCOL = 'http://'; - -//URL定位器 -MCSERVER.URL = function (url, protocol) { - var _protocol = protocol || MCSERVER.HTTP_PROTOCOL; - var hostName = window.location.host; - var openURL = hostName + '/' + url + ''; - return _protocol + openURL; -}; \ No newline at end of file diff --git a/public/onlinefs_public/index.html b/public/onlinefs_public/index.html index 3bdb79d4..7d03b12d 100644 --- a/public/onlinefs_public/index.html +++ b/public/onlinefs_public/index.html @@ -12,13 +12,13 @@ - +
- -