moved js file to es module compatible cjs file type

This commit is contained in:
2025-10-22 14:39:15 +02:00
parent a0d96925c5
commit aa7af272d8

View File

@@ -1,3 +1,4 @@
// ecosystem.config.cjs
module.exports = { module.exports = {
apps: [ apps: [
{ {
@@ -14,7 +15,7 @@ module.exports = {
time: true time: true
}, },
{ {
name: 'frontend', name: 'frontend',
script: 'npx', script: 'npx',
args: 'serve -s frontend-build -l 3000', args: 'serve -s frontend-build -l 3000',
instances: 1, instances: 1,
@@ -23,7 +24,7 @@ module.exports = {
NODE_ENV: 'production' NODE_ENV: 'production'
}, },
error_file: './logs/frontend-err.log', error_file: './logs/frontend-err.log',
out_file: './logs/frontend-out.log', out_file: './logs/frontend-out.log',
time: true time: true
} }
] ]