diff --git a/backend/ecosystem.config.js b/backend/ecosystem.config.js index 147403c..18d641b 100644 --- a/backend/ecosystem.config.js +++ b/backend/ecosystem.config.js @@ -1,7 +1,7 @@ module.exports = { apps: [{ name: 'portfolio-backend', // A name for your application in PM2 - script: 'server.js', // The path to the script PM2 will run + script: 'backend/server.js', // The path to the script PM2 will run instances: 1, // Run a single instance of the application autorestart: true, // Automatically restart if the app crashes watch: false, // Do NOT watch for file changes in production