diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index 18e535df..05fd28ce 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -1,5 +1,12 @@ // eslint-disable-next-line @typescript-eslint/no-var-requires -const { user, host } = require('./ecosystem-info.json'); +let user, host; + +try { + ({ user, host } = require('./ecosystem-info.json')); +} catch (e) { + user = 'ironmoon'; + host = 'localhost'; +} module.exports = { apps: [