|
@@ -10,14 +10,13 @@ let websocketUrl = null;
|
|
|
|
|
|
if (localTest) {
|
|
if (localTest) {
|
|
|
|
|
|
-
|
|
|
|
baseURL = "http://10.155.32.33:9001/"
|
|
baseURL = "http://10.155.32.33:9001/"
|
|
- websocketUrl = (baseURL.replace(/http:\/\//g, "")) + "gyee-websocket";
|
|
|
|
} else {
|
|
} else {
|
|
baseURL = "http://10.155.32.4:8082/"
|
|
baseURL = "http://10.155.32.4:8082/"
|
|
- websocketUrl = (baseURL.replace(/http:\/\//g, "")) + "gyee-websocket";
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+websocketUrl = (baseURL.replace(/http:\/\/|https:\/\//g, "")) + "gyee-websocket";
|
|
|
|
+
|
|
window.__MODE__ = {
|
|
window.__MODE__ = {
|
|
baseURL,
|
|
baseURL,
|
|
websocketUrl
|
|
websocketUrl
|