mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-11 22:42:05 +00:00
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:
parent
7d9e606b7d
commit
99dfa2d1fb
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ import appConfig from './config/app.config';
|
||||||
}),
|
}),
|
||||||
ConfigModule.forRoot({
|
ConfigModule.forRoot({
|
||||||
load: [appConfig],
|
load: [appConfig],
|
||||||
|
isGlobal: true,
|
||||||
}),
|
}),
|
||||||
NotesModule,
|
NotesModule,
|
||||||
UsersModule,
|
UsersModule,
|
||||||
|
|
Loading…
Reference in a new issue