Fix service worker

This commit is contained in:
Pieter Vander Vennet 2022-06-02 02:59:34 +02:00
parent ed6f0cf84b
commit ea1e7e62ef
8 changed files with 149 additions and 102 deletions

View file

@ -55,6 +55,8 @@ export default class DefaultGUI {
if (this.state.layoutToUse.customCss !== undefined && window.location.pathname.indexOf("index") >= 0) {
Utils.LoadCustomCss(this.state.layoutToUse.customCss)
}
Utils.downloadJson("./service-worker-version").then(data => console.log("Service worker", data)).catch(e => console.log("Service worker not active"))
}
public setupClickDialogOnMap(filterViewIsOpened: UIEventSource<boolean>, state: FeaturePipelineState) {