1234567891011121314151617181920212223242526 |
- const localTest = 0;
- let baseURL = null;
- let websocketUrl = null;
- const adapterUrl = "http://10.155.32.4:8011/";
- if (localTest) {
- baseURL = "http://192.168.10.13:8082/"
-
- } else {
- baseURL = "http://10.155.32.4:8082/"
- }
- websocketUrl = (baseURL.replace(/http:\/\/|https:\/\//g, "")) + "gyee-websocket";
- window.__MODE__ = {
- baseURL,
- websocketUrl,
- adapterUrl
- };
|