mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 10:48:44 +00:00
Ask for reload on service worker change (#1302)
* Ask for reload on service worker change * Lint and remove alert * Fix it once and for all * Lint
This commit is contained in:
@@ -23,10 +23,6 @@ function generateIndex(es6) {
|
||||
];
|
||||
|
||||
if (!es6) {
|
||||
toReplace.push([
|
||||
'/service_worker.js', '/service_worker_es5.js'
|
||||
]);
|
||||
|
||||
const compatibilityPath = `/frontend_es5/compatibility-${md5(path.resolve(config.output_es5, 'compatibility.js'))}.js`;
|
||||
const es5Extra = `
|
||||
<script src='${compatibilityPath}'></script>
|
||||
|
||||
Reference in New Issue
Block a user