fix: rename ecosystem config to .cjs for PM2 compatibility

- Rename ecosystem.config.js to ecosystem.config.cjs to resolve ES module issues
- PM2 now successfully starts and manages the remote server process
- Server confirmed running on port 3040 with all endpoints operational
This commit is contained in:
nasir@endelospay.com
2025-08-22 02:04:22 +05:00
parent 08f094b12f
commit 4aa9771a33

View File

@@ -2,8 +2,7 @@ module.exports = {
apps: [ apps: [
{ {
name: 'mcp-remote-server', name: 'mcp-remote-server',
script: 'npm', script: 'dist/index.js',
args: 'run start:server',
cwd: __dirname, cwd: __dirname,
instances: 1, instances: 1,
autorestart: true, autorestart: true,