Browse Source

Retries bij error omhoog, deze is te laag bij aanmelden wifi

Harry de Boer 6 năm trước cách đây
mục cha
commit
9f88efbe35
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/resources/static/main.js

+ 1 - 1
src/main/resources/static/main.js

@@ -63,7 +63,7 @@ class Puzzeltocht {
 
     onError(e) {
         this.errorCount++;
-        if (this.errorCount > 10) {
+        if (this.errorCount > 100) {
             this.location.disable();
             let l = document.getElementById("location");
             l.innerText = "Error!";