From 4739ed2b3b1b8ef78db6b56f27881a446422a4c0 Mon Sep 17 00:00:00 2001 From: jLynx Date: Mon, 1 Jan 2024 16:23:58 +1300 Subject: [PATCH] PWA fix --- package.json | 2 +- src/app/components/SerialLoader/SerialLoader.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5c8f917..d22396a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", - "start": "next start", + "start": "npx serve@latest out", "lint": "next lint" }, "dependencies": { diff --git a/src/app/components/SerialLoader/SerialLoader.tsx b/src/app/components/SerialLoader/SerialLoader.tsx index c94fdd2..a27da14 100644 --- a/src/app/components/SerialLoader/SerialLoader.tsx +++ b/src/app/components/SerialLoader/SerialLoader.tsx @@ -19,7 +19,7 @@ const SerialLoader = ({ children }: PropsWithChildren) => { if (!canUseSerial) { return (

Error