ensure .env is respected

This commit is contained in:
Erik 2022-07-02 15:49:18 +03:00
parent 490a23a1f6
commit cfa99a99b3
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -1,4 +1,4 @@
require('dotenv').config(); require('dotenv').config({ override: true });
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(`Starting in ${process.env.NODE_ENV} mode`); console.log(`Starting in ${process.env.NODE_ENV} mode`);