mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
FrontendConfig: Add new service
This service handles the config for the frontend. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
a7c3d06216
commit
9747ea209c
5 changed files with 833 additions and 1 deletions
17
src/frontend-config/frontend-config.module.ts
Normal file
17
src/frontend-config/frontend-config.module.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { Module } from '@nestjs/common';
|
||||
import { LoggerModule } from '../logger/logger.module';
|
||||
import { ConfigModule } from '@nestjs/config';
|
||||
import { FrontendConfigService } from './frontend-config.service';
|
||||
|
||||
@Module({
|
||||
imports: [LoggerModule, ConfigModule],
|
||||
providers: [FrontendConfigService],
|
||||
exports: [FrontendConfigService],
|
||||
})
|
||||
export class FrontendConfigModule {}
|
Loading…
Add table
Add a link
Reference in a new issue