Add no-cache for all GET API requests

This commit is contained in:
Alexey Khit
2023-01-18 10:01:00 +03:00
parent 6e49d51c33
commit 8628c48db8
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
0, location.pathname.lastIndexOf("/")
);
fetch(`${baseUrl}/api/homekit`)
fetch(`${baseUrl}/api/homekit`, {cache: 'no-cache'})
.then(r => r.json())
.then(data => {
document.querySelector("body > table > tbody").innerHTML =