🐛 Failed to stage

This commit is contained in:
Meier Lukas
2023-11-14 20:52:22 +01:00
parent f06dff7bb7
commit de2a632a4e

View File

@@ -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'");