소스 검색

update index.html

VicCG.Lin 2 년 전
부모
커밋
3b8ad9a7f1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      public/game/monopoly/index.html

+ 1
- 1
public/game/monopoly/index.html 파일 보기

@@ -26,7 +26,7 @@
26 26
   <link rel="stylesheet" href="assets/css/mainStage.css">
27 27
   <link rel="stylesheet" href="assets/lib/slick/slick.css">
28 28
   <script>
29
-    if (window.location.host === 'declarepre.taiwanpay.com.tw') {
29
+    if (window.location.host === 'declarepre.taiwanpay.com.tw' && window.location.pathname === '/game/monopoly/index.html') {
30 30
       window.location.href = "https://declarepre.taiwanpay.com.tw/game/monopoly/index_pre.html" + window.location.search;
31 31
     }
32 32
   </script>