summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/table.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/static/table.html b/static/table.html
index d1f298e..7247586 100644
--- a/static/table.html
+++ b/static/table.html
@@ -205,8 +205,10 @@ var app = new Vue({
},
methods: {
async updateData () {
- const response = await fetch('/data2.json')
- this.rawData = await response.json()
+ try {
+ const response = await fetch('/data2.json')
+ this.rawData = await response.json()
+ } catch {}
setTimeout(this.updateData, 2000)
},
calcSpeed (obj, objData) {