Update workbox-config.js

This commit is contained in:
Core 2021-12-19 23:36:51 +00:00 committed by GitHub
parent fe8d44a746
commit c2a2551824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
module.exports = { module.exports = {
globDirectory: 'resources/cider-ui/', globDirectory: 'src/renderer/',
swDest: 'resources/cider-ui/sw.js', swDest: 'src/renderer/sw.js',
// Define runtime caching rules. // Define runtime caching rules.
runtimeCaching: [{ runtimeCaching: [{
// Match any request that ends with .png, .jpg, .jpeg or .svg. // Match any request that ends with .png, .jpg, .jpeg or .svg.
@ -36,4 +36,4 @@ module.exports = {
/^X-Amz-Credential/, /^X-Amz-Credential/,
/^X-Amz-Signature/, /^X-Amz-Signature/,
] ]
}; };