xian-ncc-da-client/EnvParse.js

8 lines
168 B
JavaScript
Raw Normal View History

2023-10-16 14:01:38 +08:00
const DotEnv = require('dotenv')
const parsedEnv = DotEnv.config({ path: `.env.${process.env.NODE_ENV}` }).parsed
module.exports = function () {
return parsedEnv
}