Commit 19e55042 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Add dotenv in configService

parent 06ce38ff
Pipeline #2438 passed with stages
in 19 seconds
import * as dotenv from 'dotenv';
import { config } from './config';
export class ConfigService {
private _config = config;
constructor() {
// Initializing conf with values from var env = process.env.SMTP_HOST;
this._config.smtpConfig.port = process.env.SMTP_PORT;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment