mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 04:10:33 +03:00
53bd7da063
ServiceWorkers can only control the scope from which they have been served. Our service workers live, like all other files, in an `asset` folder - and could in theory only work on other files in there. This commit fake-serves our service workers from `/ghost/`, thus allowing them to give everything offline powers. |
||
---|---|---|
.. | ||
app.js | ||
controller.js | ||
index.js | ||
serviceworker.js |