From 99dfa2d1fbbb5dabc95218df6de4310f6abc1d68 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Fri, 8 Jan 2021 12:52:30 +0100 Subject: [PATCH] Load config to global scope Otherwise every module would have to parse the config again Signed-off-by: David Mehren --- src/app.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.module.ts b/src/app.module.ts index a693d86a1..54a22ece5 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -30,6 +30,7 @@ import appConfig from './config/app.config'; }), ConfigModule.forRoot({ load: [appConfig], + isGlobal: true, }), NotesModule, UsersModule,