mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 19:47:03 -04: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
c1a9eee6a4
commit
c6e341aab9
1 changed files with 5 additions and 0 deletions
|
@ -5,8 +5,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { registerAs } from '@nestjs/config';
|
import { registerAs } from '@nestjs/config';
|
||||||
|
import { LogLevel } from 'ts-loader/dist/logger';
|
||||||
|
|
||||||
export default registerAs('appConfig', () => ({
|
export default registerAs('appConfig', () => ({
|
||||||
|
domain: 'md.example.com',
|
||||||
|
rendererOrigin: 'md-renderer.example.com',
|
||||||
port: 3000,
|
port: 3000,
|
||||||
|
loglevel: LogLevel.ERROR,
|
||||||
|
maxDocumentLength: 100000,
|
||||||
forbiddenNoteIds: ['forbiddenNoteId'],
|
forbiddenNoteIds: ['forbiddenNoteId'],
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue