mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 03:58:02 -05:00
Merge pull request #1171 from hedgedoc/fix/mockLoglevel
AppConfigMock: Use correct loglevel
This commit is contained in:
commit
18dafc35f4
1 changed files with 2 additions and 2 deletions
|
@ -5,13 +5,13 @@
|
|||
*/
|
||||
|
||||
import { registerAs } from '@nestjs/config';
|
||||
import { LogLevel } from 'ts-loader/dist/logger';
|
||||
import { Loglevel } from '../loglevel.enum';
|
||||
|
||||
export default registerAs('appConfig', () => ({
|
||||
domain: 'md.example.com',
|
||||
rendererOrigin: 'md-renderer.example.com',
|
||||
port: 3000,
|
||||
loglevel: LogLevel.ERROR,
|
||||
loglevel: Loglevel.ERROR,
|
||||
maxDocumentLength: 100000,
|
||||
forbiddenNoteIds: ['forbiddenNoteId'],
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue