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