From 2715857dff00a686cf496fce65cbeb63059efd3f Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 8 Aug 2023 23:02:17 -0700 Subject: [PATCH] fix: :bug: offline html responsive viewport --- package.json | 2 +- packages/sw/src/sw.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4d395db7c3..598b7fa18d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "firefish", - "version": "1.0.5-dev4", + "version": "1.0.5-dev5", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/sw/src/sw.ts b/packages/sw/src/sw.ts index 535ee6a34d..4ef1201904 100644 --- a/packages/sw/src/sw.ts +++ b/packages/sw/src/sw.ts @@ -28,7 +28,7 @@ globalThis.addEventListener("activate", (ev) => { }); function offlineContentHTML(): string { - 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_}`; + 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) => {