From a316fd526b0dc8839a64f82e95843d8aa54e5d38 Mon Sep 17 00:00:00 2001 From: Sai Raj <39055732+sairajzero@users.noreply.github.com> Date: Sat, 5 Jun 2021 13:27:04 +0530 Subject: [PATCH] bugfix: flosight --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index eef0483..9db58ac 100644 --- a/index.html +++ b/index.html @@ -7866,7 +7866,7 @@ fetch_retry: function (apicall) { return new Promise((resolve, reject) => { this.serverList.splice(this.curPos, 1); - this.curPos = floCrypto.randInt(0, this.serverList.length) + this.curPos = floCrypto.randInt(0, this.serverList.length - 1) this.fetch_api(apicall) .then(result => resolve(result)) .catch(error => reject(error));