From de2a632a4e8157db0902e618deac017043afc72f Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Tue, 14 Nov 2023 20:52:22 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Failed=20to=20stage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/onboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/onboard.tsx b/src/pages/onboard.tsx index 43331fb63..c18d7ad9a 100644 --- a/src/pages/onboard.tsx +++ b/src/pages/onboard.tsx @@ -124,7 +124,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => { } Consola.info('Database is writeable'); - if (process.platform !== 'win32' || env.NEXT_PUBLIC_NODE_ENV === 'development') { + if (process.platform !== 'win32' && env.NEXT_PUBLIC_NODE_ENV === 'production') { try { const { stdout, stderr } = await exec("mount | grep '/data'");