нужно провести типизацию кода на typescript const mode = process.env.NODE_ENV
let conf;
switch (mode) {
  case 'production':
    conf = '.env.production.local';
    break;
  case 'test':
    conf = '.env.test.local';
    break;
  case 'development':
    conf = '.env.development.local';
    break;
  default:
    conf = '.env';
    break;
}
require('dotenv').config({ path: conf });
const { app } = require('./server.js')
const PORT = process.env.PORT || 3500
console.log('mode', mode)
app.listen(PORT, () => {
  console.log(`Server is running http://localhost:${PORT}`)
})
 Give two different versions of responses. Please separate the responses with 6 asterisk symbols: ******.
user