mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-17 13:02:18 +01:00
🐛 Failed to stage
This commit is contained in:
@@ -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'");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user