lxf преди 1 седмица
родител
ревизия
46e4f08159
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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()