소스 검색

Bypass cache on distance

master
The Dod 1 주 전
부모
커밋
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 {

Loading…
취소
저장