don't set cache header on serviceWorker.js
This commit is contained in:
parent
5677390a45
commit
1a78f57515
4 changed files with 4117 additions and 8726 deletions
|
@ -19,8 +19,6 @@ function kv(f) {
|
|||
module.exports = function() {
|
||||
const files = fs.readdirSync(path.join(__dirname, '..', 'assets'));
|
||||
const code = `module.exports = {
|
||||
"package.json": require('../package.json'),
|
||||
"serviceWorker.js" : require('../app/serviceWorker.js'),
|
||||
${files.map(kv).join(',\n')}
|
||||
};`;
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue