Log less in service worker (#8691)

This commit is contained in:
Bram Kragten 2021-03-25 14:14:49 +01:00 committed by GitHub
parent 014dbc2a86
commit a3efa5676b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ const catchHandler: RouteHandler = async (options) => {
return Response.error();
}
// eslint-disable-next-line no-console
console.log("Using fallback for request:", options.request);
console.log("Using fallback for:", url);
return (await caches.match("/", { ignoreSearch: true })) || Response.error();
};