Repository navigation
This release fixes some issues with loading the correct .env values in prod, switches to a new docker image for database backups, and gets offline mode working correctly.
Changes
- Authentication components switched to using
$env/dynamic/publicinstead of$env/static/public. This allows the dummy.envvalues to be removed from theDockerfile, and gets the authentication components working again. - Switched to
prodrigestivill/postgres-backup-localfor database backups instead. - Added instructions for running a production build locally.
- Use
sveltePhosphorOptimizeto speed upnpm buildtime. - Offline mode is now supported.
- Previously, the service worker was implemented enough to serve as a PWA, but no pages were actually being cached.
- Now, the site works offline. HTML is now prerendered, and public
.envvalues are cached using a custom service worker. - Because pages had to be prerendered, user state is now loaded in the client in
auth.tsinstead of the node server. - The offline experience is far from perfect. Improvements and fallbacks will be added in #207. For now, most pages are simply served offline and network requests will fail.
- Fixed an issue where users couldn't continue in the start page without an account.
- The event list's favorite button loading skeleton now only shows if the user is actually loading.