diff --git a/src/service-worker.js b/src/service-worker.js index 4cf9da6..0f041b4 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -18,6 +18,7 @@ const assets = __assets__ .map(file => file.startsWith('/') ? file : `/${file}`) .filter(filename => !filename.startsWith('/apple-icon')) .filter(filename => !filename.endsWith('.map')) + .filter(filename => filename !== '/robots.txt') // `shell` is an array of all the files generated by webpack // also contains '/index.html' for some reason