KenEucker / biketag-vue

A vue app for the game of BikeTag played worldwide at biketag.org including the published biketag-vue component library
https://biketag.org
GNU Affero General Public License v3.0
22 stars 13 forks source link

[BUG] Site does not load properly between deployed updates #240

Open KenEucker opened 8 months ago

KenEucker commented 8 months ago

Describe the bug When a new update goes out via Netlify, the assets are broken until the service worker can finish the update. See screenshot.

To Reproduce Steps to reproduce the behavior:

  1. Go to a game (portland.biketag.org)
  2. See how it looks fine.
  3. Make a new deploy to production
  4. See how things are broken, for up to 30 seconds. (see screenshot below)

Expected behavior Since we cannot determine why this occurs with Netlify, we should try to work around it. We should try to catch this error and then show a loading screen of some kind. (application updating)

Screenshots

Screenshot 2024-01-13 at 12 22 17 PM