mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02: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,
|
||||
usePatientFetcher = false,
|
||||
) {
|
||||
const fetcher = usePatientFetcher ? patientFetch : fetch;
|
||||
const fetcher = usePatientFetcher
|
||||
? patientFetch
|
||||
: (url: string) => fetch(url, { cache: 'no-store' });
|
||||
const response = await fetcher(
|
||||
withCORSProxy(
|
||||
`https://${regionToRegionSubdomain(
|
||||
|
||||
Reference in new issue
Block a user