Commit 1d33ca9d authored by Alessandro CERIONI's avatar Alessandro CERIONI
Browse files

Making sure .env is taken into account

parent ed21649e
......@@ -8,6 +8,7 @@ export class ConfigService {
constructor() {
// Initializing conf with values from var env
dotenv.config();
this._config.groupNames.admin = process.env.ADMIN_GROUP_NAME;
this._config.groupHeader = process.env.GROUP_HEADER;
}
......@@ -15,4 +16,4 @@ export class ConfigService {
get config() {
return this._config;
}
}
\ No newline at end of file
}
Supports Markdown
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