mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 03:58:02 -05:00
Config: Extend AppConfig mock
This is now more in line what you would get from the regular config code Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
381718f0eb
commit
19318ae518
1 changed files with 5 additions and 0 deletions
|
@ -5,8 +5,13 @@
|
|||
*/
|
||||
|
||||
import { registerAs } from '@nestjs/config';
|
||||
import { LogLevel } from 'ts-loader/dist/logger';
|
||||
|
||||
export default registerAs('appConfig', () => ({
|
||||
domain: 'md.example.com',
|
||||
rendererOrigin: 'md-renderer.example.com',
|
||||
port: 3000,
|
||||
loglevel: LogLevel.ERROR,
|
||||
maxDocumentLength: 100000,
|
||||
forbiddenNoteIds: ['forbiddenNoteId'],
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue