lxf 1 неделя назад
Родитель
Сommit
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()