diff --git a/NodeApp/src/app.ts b/NodeApp/src/app.ts index 543bc0594fc11b97e98fa5bb50265662b27bf65d..e9156cf32a99b6c9e40be0dff8dd130eadb11726 100644 --- a/NodeApp/src/app.ts +++ b/NodeApp/src/app.ts @@ -1,7 +1,10 @@ // Read from the .env file // ATTENTION : This lines MUST be the first of this file (except for the path import) const path = require('node:path'); -require('dotenv').config({ path: path.join(__dirname, '../.env') }); +require('dotenv').config({ + path : path.join(__dirname, '../.env.vault'), + DOTENV_KEY: 'dotenv://:key_fc323d8e0a02349342f1c6a119bb38495958ce3a43a87d19a3f674b7e2896dcb@dotenv.local/vault/.env.vault?environment=development' + }); require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file