Hanziness / FocusTide

Modern and customizable productivity timer app that runs in your browser.
https://focustide.app
MIT License
321 stars 35 forks source link

fix(pwa): Fix offline functionality #350

Closed Hanziness closed 1 year ago

Hanziness commented 1 year ago

Previously the Workbox module cached most of the app's assets for offline use, but not the main page, resulting in a "No internet" page when loading the app offline. This PR should fix that, and it also adjusts the workings of the service worker and icon generator to output into the public folder instead of the build directory (since Nuxt 3.5.x files in the build folder aren't copied into the final dist folder anymore).