chore: fix ajax invalidate cache demo
This commit is contained in:
parent
61d6c5fa33
commit
ead8264261
1 changed files with 1 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ export const invalidateRules = () => {
|
||||||
const fetchHandler = (name, method) => {
|
const fetchHandler = (name, method) => {
|
||||||
const actionCacheOptions = {};
|
const actionCacheOptions = {};
|
||||||
if (name === 'pabu') {
|
if (name === 'pabu') {
|
||||||
actionCacheOptions.invalidateUrlsRegex = /\/packages\/ajax\/docs\/naga.json/;
|
actionCacheOptions.invalidateUrlsRegex = /\/docs\/tools\/ajax\/assets\/naga.json/;
|
||||||
}
|
}
|
||||||
|
|
||||||
ajax
|
ajax
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue