mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-27 04:29:50 +01:00
fix: no cache neighbors
This commit is contained in:
1 parent
e19d0d948a
commit
e79c4a1e3f
1 file changed
+3
-1
@@ -10,7 +10,9 @@ export async function getRatingsNeighbors(
|
|||||||
count: number,
|
count: number,
|
||||||
usePatientFetcher = false,
|
usePatientFetcher = false,
|
||||||
) {
|
) {
|
||||||
const fetcher = usePatientFetcher ? patientFetch : fetch;
|
const fetcher = usePatientFetcher
|
||||||
|
? patientFetch
|
||||||
|
: (url: string) => fetch(url, { cache: 'no-store' });
|
||||||
const response = await fetcher(
|
const response = await fetcher(
|
||||||
withCORSProxy(
|
withCORSProxy(
|
||||||
`https://${regionToRegionSubdomain(
|
`https://${regionToRegionSubdomain(
|
||||||
|
|||||||
Reference in new issue
Block a user