Skip to content
Snippets Groups Projects
Commit 10fbfec6 authored by michael.minelli's avatar michael.minelli
Browse files

Env => Use dotenv-expand

parent effd23e0
No related branches found
No related tags found
No related merge requests found
// Read from the .env file // Read from the .env file
// ATTENTION : This lines MUST be the first of this file (except for the path import) // ATTENTION : This lines MUST be the first of this file (except for the path import)
const path = require('node:path'); const path = require('node:path');
require('dotenv').config({ const myEnv = require('dotenv').config({
path : path.join(__dirname, '../.env'), path : path.join(__dirname, '../.env'),
DOTENV_KEY: 'dotenv://:key_bebfddf18e3dd9a0bafafe0e383313f75add1da6fbe41ea5fde51f37ef1776aa@dotenv.local/vault/.env.vault?environment=development' DOTENV_KEY: 'dotenv://:key_bebfddf18e3dd9a0bafafe0e383313f75add1da6fbe41ea5fde51f37ef1776aa@dotenv.local/vault/.env.vault?environment=development'
}); });
require('dotenv-expand').expand(myEnv);
require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file
import ClientsSharedConfig from './sharedByClients/config/ClientsSharedConfig'; import ClientsSharedConfig from './sharedByClients/config/ClientsSharedConfig';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment