|
@@ -15,7 +15,7 @@ isLIVE = false;
|
15
|
15
|
|
16
|
16
|
switch (window.location.host.toLowerCase()) {
|
17
|
17
|
|
18
|
|
- case 'infra.cecmartech.com:8077':
|
|
18
|
+ case 'event.leecy.org.tw':
|
19
|
19
|
isLIVE = false;
|
20
|
20
|
break;
|
21
|
21
|
|
|
@@ -225,10 +225,10 @@ function sleep(seconds) {
|
225
|
225
|
});
|
226
|
226
|
}
|
227
|
227
|
|
228
|
|
-const _PRE__HOST = 'infra.cecmartech.com:8077';
|
|
228
|
+const _PRE__HOST = 'event.leecy.org.tw';
|
229
|
229
|
const _PRO__HOST = 'event.leecy.org.tw';
|
230
|
230
|
const _URL = location.hostname;
|
231
|
|
-const _host = (_URL.indexOf(_PRO__HOST) != -1) ? 'https://' + _PRO__HOST : 'http://' + _PRE__HOST;
|
|
231
|
+const _host = (_URL.indexOf(_PRO__HOST) != -1) ? 'https://' + _PRO__HOST : 'https://' + _PRE__HOST;
|
232
|
232
|
const API__DOMAIN = _host;
|
233
|
233
|
console.log(API__DOMAIN)
|
234
|
234
|
|