Commit 8050ed88 authored by Genar Trias Ortiz's avatar Genar Trias Ortiz 🎉

fixing serviceworker path

parent 3e769877
Pipeline #56607423 passed with stages
in 5 minutes and 43 seconds
......@@ -290,7 +290,7 @@ module.exports = {
// Ignores URLs starting from /__ (useful for Firebase):
// https://github.com/facebookincubator/create-react-app/issues/2237#issuecomment-302693219
navigateFallbackWhitelist: [/^(?!\/__).*/],
swDest: path.join('build', 'service-worker.js'),
swDest: path.join('service-worker.js'),
runtimeCaching: [{
urlPattern: "(.*)",
handler: "StaleWhileRevalidate"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment