apps/web: disable api cache

This commit is contained in:
vchikalkin 2023-11-27 09:56:41 +03:00
parent 30d705a618
commit 40140c805e

View File

@ -6,7 +6,7 @@ import type { WretchError } from 'wretch';
import wretch from 'wretch';
const urls = getUrls();
const api = wretch(urls.URL_IUS).errorType('json');
const api = wretch(urls.URL_IUS).options({ cache: 'no-store' }).errorType('json');
type Input = { pageUrlParams: PageUrlParams; payload?: unknown };