Răsfoiți Sursa

Removed redirect to https

Avetisyan Karen 7 ani în urmă
părinte
comite
db877ec4d0

BIN
web_interface/dist/upload/upload.js


+ 1 - 3
web_interface/src/upload/upload.js

@@ -13,9 +13,7 @@ document.onmousemove = function(){
 function countdown() {
   var countDown = 5;
   setInterval(function () {
-    if (countDown == 1) {
-      window.location.href = 'https:' + window.location.origin.substring(window.location.protocol.length);
-    }
+    if (countDown == 1) { window.location.href = '/'; }
     if (countDown > 0){ countDown--; }
     document.getElementById('count-number').innerHTML = countDown;
     return countDown;