Config: Move config mocks in own folder

To clean up the config folder, all mocks are now in it's own folder.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-03-01 21:12:01 +01:00 committed by David Mehren
parent 4dc18c01fb
commit c1a9eee6a4
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
15 changed files with 22 additions and 26 deletions

View file

@ -0,0 +1,12 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { registerAs } from '@nestjs/config';
export default registerAs('appConfig', () => ({
port: 3000,
forbiddenNoteIds: ['forbiddenNoteId'],
}));