Config/env/production is not considered when NODE_ENV=production

What is the output of

console.log(process.env.NODE_ENV)
console.log(strapi.config.database.connection)

if you add these two lines in the register function of the src/index.ts file?

1 Like