ServiceWorker: p --> path
This commit is contained in:
parent
4b1c5eb0e8
commit
0536f1e43a
|
@ -114,7 +114,7 @@ module.exports = merge(sharedConfig, {
|
||||||
];
|
];
|
||||||
|
|
||||||
if (pathname) {
|
if (pathname) {
|
||||||
return backendRoutes.some(p => pathname.startsWith(p));
|
return backendRoutes.some(path => pathname.startsWith(path));
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue