From 291463061c92a65ba0e6b70654cc1ca093ef39c8 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Thu, 10 Aug 2023 11:29:36 +0200 Subject: [PATCH] feat: add offline sw --- routes/_app.tsx | 1 + static/app.js | 21 +++++++++++++ static/sw.js | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 static/app.js create mode 100644 static/sw.js diff --git a/routes/_app.tsx b/routes/_app.tsx index 66ce537..b4df585 100644 --- a/routes/_app.tsx +++ b/routes/_app.tsx @@ -29,6 +29,7 @@ export default function App({ Component }: AppProps) { +