Support new sw endpoint

This commit is contained in:
Nicholas Zuber 2020-01-26 15:34:40 -05:00
parent 8a6eb27e96
commit ea335deda9

View File

@ -17,6 +17,7 @@
{"src": "^/manifest.json", "dest": "/manifest.json"},
{"src": "^/asset-manifest.json", "dest": "/asset-manifest.json"},
{"src": "^/service-worker.js", "headers": {"cache-control": "s-maxage=0"}, "dest": "/service-worker.js"},
{"src": "^/sw.js", "headers": {"cache-control": "s-maxage=0"}, "dest": "/sw.js"},
{"src": "^/precache-manifest.(.*)", "dest": "/precache-manifest.$1"},
{"src": "^/(.*)", "dest": "/index.html"}
],