Load config to global scope

Otherwise every module would have to parse the config again

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-01-08 12:52:30 +01:00
parent 7d9e606b7d
commit 99dfa2d1fb
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -30,6 +30,7 @@ import appConfig from './config/app.config';
}),
ConfigModule.forRoot({
load: [appConfig],
isGlobal: true,
}),
NotesModule,
UsersModule,