Deploy c899476 from main
This commit is contained in:
@@ -94,7 +94,7 @@ async function fetchArticles(restUrl, page, count, signal) {
|
|||||||
const cacheKey = `${restUrl}:${page}:${count}`;
|
const cacheKey = `${restUrl}:${page}:${count}`;
|
||||||
const cached = getCached(cacheKey);
|
const cached = getCached(cacheKey);
|
||||||
if (cached) return cached;
|
if (cached) return cached;
|
||||||
const url = `${restUrl}articles?count=${count}&page=${page}`;
|
const url = `${restUrl}articles?count=${count}&page=${page}&_=${Date.now()}`;
|
||||||
const resp = await fetch(url, {
|
const resp = await fetch(url, {
|
||||||
signal
|
signal
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user