lxf 1 tydzień temu
rodzic
commit
46e4f08159
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/index.html

+ 1 - 1
public/index.html

@@ -25,7 +25,7 @@
         }
         function getDeviceType() {
           if (!isMobileDevice() && !isTabletDevice()) {
-            window.location.href = targetProtocol + (window.location.host.replace('m', 'www')) + window.location.pathname + window.location.search
+            window.location.href = (targetProtocol + '//' + (window.location.host.replace('m', 'www')) + window.location.pathname + window.location.search)
           }
         }
         getDeviceType()