diff --git a/global-run.cjs b/global-run.cjs index 0dec1cc..cce1fab 100755 --- a/global-run.cjs +++ b/global-run.cjs @@ -18,5 +18,5 @@ const memoryAllocation = Math.floor((totalMemory / (1024 * 1024)) * 0.8); // Con console.log(`Index can use up to: ${memoryAllocation}MB RAM`); // Running the application -spawn('node', [`--max-old-space-size=${memoryAllocation}`, path.resolve(__dirname, 'build', 'diskernet.mjs')], { stdio: 'inherit' }); +spawn('node', [`--max-old-space-size=${memoryAllocation}`, path.resolve(__dirname, 'build', 'diskernet.cjs')], { stdio: 'inherit' });