Просмотр исходного кода

Bypass cache on distance

master
The Dod 1 неделю назад
Родитель
Сommit
6b90b024e6
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      templates/index.html

+ 1
- 1
templates/index.html Просмотреть файл

@@ -67,7 +67,7 @@
67 67
   });
68 68
   async function getDistance() {
69 69
     try {
70
-      let response = await fetch("/d");
70
+      let response = await fetch("/d", {cache: "no-store"});
71 71
       let data = await response.json();
72 72
       return data.distance;
73 73
     } catch {

Загрузка…
Отмена
Сохранить