VicCG.Lin преди 3 години
родител
ревизия
22e01c8b9e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      public/game/monopoly/index.html

+ 1
- 1
public/game/monopoly/index.html Целия файл

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