From dc8d17e50d6e379b894a62c2c0c2d2e43713fde1 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 8 Aug 2023 17:18:51 -0700 Subject: [PATCH] refactor: :recycle: better offline page --- packages/backend/src/server/web/boot.js | 2 +- packages/sw/src/sw.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/server/web/boot.js b/packages/backend/src/server/web/boot.js index c8efc4824f..4bd9326aac 100644 --- a/packages/backend/src/server/web/boot.js +++ b/packages/backend/src/server/web/boot.js @@ -147,7 +147,7 @@ Refresh

Don't worry, it's (probably) not your fault.

-

Please make sure your browser is up-to-date and any AdBlockers are off.

+

Please make sure your browser is up-to-date and any AdBlockers are off (given they can sometimes errouniously interfere with loading assets).

If the problem persists after refreshing, please contact your instance's administrator.
You may also try the following options:

`; + return `Offline

Looks like you're offline!

Looks like Firefish couldn't connect to the server, probably because your device is offline.

The installed Service Worker is version ${_VERSION_}`; } globalThis.addEventListener("fetch", (ev) => {