hrgdavor / jscadui

MIT License
30 stars 9 forks source link

fix(fs-provider): reload service worker #30

Closed platypii closed 1 year ago

platypii commented 1 year ago

Service workers are disabled on hard-refresh, so a reload is required when this is detected.

To prevent a reload loop, don't reload again within 3 seconds, by storing the lastReload time into localStorage.

Also includes unrelated changes to jscad-web to remove availableEngines.