adjust cache

This commit is contained in:
proddy
2025-03-02 17:44:53 +01:00
parent 44c4ee8bc0
commit 04ac3be242
2 changed files with 4 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ export const ACCESS_TOKEN = 'access_token';
export const alovaInstance = createAlova({
statesHook: ReactHook,
// timeout: 3000, // 3 seconds before throwing a timeout error, default is 0 = none
cacheFor: null, // disable cache
// cacheFor: null, // disable cache
// cacheFor: {
// GET: {
// mode: 'memory',