From 36c1cb47c084755ffa090931a76380252677364c Mon Sep 17 00:00:00 2001 From: ZauberNerd Date: Mon, 10 Jul 2023 00:42:06 +0200 Subject: [PATCH] Implement service worker using vite-plugin-pwa --- app/index.html | 31 ++--- app/package.json | 4 +- app/public/manifest.json | 21 ---- app/src/components/pwa-notifications.tsx | 53 ++++---- app/src/index.tsx | 6 - app/src/service-worker.ts | 43 ------- app/src/serviceworker-registration.ts | 146 ----------------------- app/src/store/index.ts | 2 - app/src/store/pwa.ts | 30 ----- app/src/vite-env.d.ts | 1 + app/vite.config.js | 90 +++++++++++++- 11 files changed, 132 insertions(+), 295 deletions(-) delete mode 100644 app/public/manifest.json delete mode 100644 app/src/service-worker.ts delete mode 100644 app/src/serviceworker-registration.ts delete mode 100644 app/src/store/pwa.ts diff --git a/app/index.html b/app/index.html index ec20b03..cd2a0ae 100644 --- a/app/index.html +++ b/app/index.html @@ -3,33 +3,24 @@ + + + + + + - - - Chat with GPT | Unofficial ChatGPT app - - - - - + + + + +