Sherry 1 year ago
parent
commit
f1c69634ed
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      src/fe/healthpassport/index.html
  2. 3
    3
      src/fe/healthpassport/js/utlis.js

+ 1
- 1
src/fe/healthpassport/index.html View File

@@ -353,7 +353,7 @@
353 353
                     <option value="">請選擇性別</option>
354 354
                     <option value="tag-8HwqQuQ43">女性</option>
355 355
                     <option value="tag-F8Me8-UGg">男性</option>
356
-                    <option value="tag-8HwqQuQ43">其他</option>
356
+                    <option value="tag-BrpgwlI5E">其他</option>
357 357
                   </select>
358 358
                 </div>
359 359
               </fieldset>

+ 3
- 3
src/fe/healthpassport/js/utlis.js View File

@@ -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