MCPcopy
hub / github.com/subnub/myDrive / getEnvVariables

Function getEnvVariables

serverUtils/getEnvVaribables.js:3–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1const path = require("path");
2
3const getEnvVariables = () => {
4
5 const configPath = path.join(__dirname, "..", "config");
6
7 require('dotenv').config({ path: configPath + "/prod.env"})
8}
9
10module.exports = getEnvVariables;

Calls

no outgoing calls

Tested by

no test coverage detected