LocChat/server/app.controller.ts
Joseph Ditton 84b45cd6b1 adds roles
2021-12-01 20:18:26 -07:00

12 lines
275 B
TypeScript

import { Controller, Get, Render } from '@nestjs/common';
import { Skip } from './decorators/skip.decorator';
import { AuthGuard } from './providers/guards/auth.guard';
@Controller()
export class AppController {
@Get()
@Render('index')
@Skip(AuthGuard)
index() {}
}