mirror of
https://github.com/nickzuber/meteorite.git
synced 2024-11-25 07:04:14 +03:00
Support new sw endpoint
This commit is contained in:
parent
8a6eb27e96
commit
ea335deda9
1
now.json
1
now.json
@ -17,6 +17,7 @@
|
|||||||
{"src": "^/manifest.json", "dest": "/manifest.json"},
|
{"src": "^/manifest.json", "dest": "/manifest.json"},
|
||||||
{"src": "^/asset-manifest.json", "dest": "/asset-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": "^/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": "^/precache-manifest.(.*)", "dest": "/precache-manifest.$1"},
|
||||||
{"src": "^/(.*)", "dest": "/index.html"}
|
{"src": "^/(.*)", "dest": "/index.html"}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user