feat(scripts): disable cache if elements updated

This commit is contained in:
wanhose 2021-04-11 12:46:51 +02:00
parent d89b25c2bf
commit c514b67cd9

View File

@ -173,7 +173,7 @@ const removeFromNetwork = () => {
const query = async () => {
try {
const response = await fetch(url);
const response = await fetch(url, { cache: "no-cache" });
const data = await response.text();
if (response.status !== 200) throw new Error();