From f3ab2eedc61122c95364620e2ede180b1493ad8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Loureiro?= Date: Mon, 9 Jun 2025 14:39:50 -0300 Subject: [PATCH] fix: update script path in PM2 configuration for portfolio backend --- backend/ecosystem.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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