chore: fix ajax invalidate cache demo

This commit is contained in:
Joren Broekema 2021-06-08 17:21:49 +02:00 committed by Thomas Allmer
parent 61d6c5fa33
commit ead8264261

View file

@ -425,7 +425,7 @@ export const invalidateRules = () => {
const fetchHandler = (name, method) => {
const actionCacheOptions = {};
if (name === 'pabu') {
actionCacheOptions.invalidateUrlsRegex = /\/packages\/ajax\/docs\/naga.json/;
actionCacheOptions.invalidateUrlsRegex = /\/docs\/tools\/ajax\/assets\/naga.json/;
}
ajax