mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 11:37:02 -04:00
PrivateApi: Add config controller
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
9747ea209c
commit
86f5498f51
3 changed files with 80 additions and 2 deletions
src/api/private
|
@ -9,12 +9,21 @@ import { TokensController } from './tokens/tokens.controller';
|
|||
import { LoggerModule } from '../../logger/logger.module';
|
||||
import { UsersModule } from '../../users/users.module';
|
||||
import { AuthModule } from '../../auth/auth.module';
|
||||
import { ConfigController } from './config/config.controller';
|
||||
import { FrontendConfigModule } from '../../frontend-config/frontend-config.module';
|
||||
import { HistoryController } from './me/history/history.controller';
|
||||
import { HistoryModule } from '../../history/history.module';
|
||||
import { NotesModule } from '../../notes/notes.module';
|
||||
|
||||
@Module({
|
||||
imports: [LoggerModule, UsersModule, AuthModule, HistoryModule, NotesModule],
|
||||
controllers: [TokensController, HistoryController],
|
||||
imports: [
|
||||
LoggerModule,
|
||||
UsersModule,
|
||||
AuthModule,
|
||||
FrontendConfigModule,
|
||||
HistoryModule,
|
||||
NotesModule,
|
||||
],
|
||||
controllers: [TokensController, ConfigController, HistoryController],
|
||||
})
|
||||
export class PrivateApiModule {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue