When the server was down for a bit, I noticed that the PWA wouldn't load properly when we have network access, but not server access because it would error when trying to load /stat and /version.html with the ?ngsw-bypass.
These calls need to be wrapped in try-catch and we need to make the following offline enhancements:
Add interval which checks for online access to the server itself and sets online or offline mode accordingly
Wrap calls in try-catch
make sure can load when server is down but not network
When the server was down for a bit, I noticed that the PWA wouldn't load properly when we have network access, but not server access because it would error when trying to load `/stat` and `/version.html` with the `?ngsw-bypass`.
These calls need to be wrapped in try-catch and we need to make the following offline enhancements:
* Add interval which checks for online access to the server itself and sets online or offline mode accordingly
* Wrap calls in try-catch
* make sure can load when server is down but not network
When the server was down for a bit, I noticed that the PWA wouldn't load properly when we have network access, but not server access because it would error when trying to load
/stat
and/version.html
with the?ngsw-bypass
.These calls need to be wrapped in try-catch and we need to make the following offline enhancements: