ServiceWorker: p --> path
This commit is contained in:
parent
4b1c5eb0e8
commit
0536f1e43a
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ module.exports = merge(sharedConfig, {
|
|||
];
|
||||
|
||||
if (pathname) {
|
||||
return backendRoutes.some(p => pathname.startsWith(p));
|
||||
return backendRoutes.some(path => pathname.startsWith(path));
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue