LocChat/server/app.controller.ts

12 lines
275 B
TypeScript
Raw Normal View History

2021-11-23 16:04:12 -05:00
import { Controller, Get, Render } from '@nestjs/common';
2021-12-01 22:18:26 -05:00
import { Skip } from './decorators/skip.decorator';
import { AuthGuard } from './providers/guards/auth.guard';
2021-11-16 21:14:46 -05:00
@Controller()
export class AppController {
@Get()
@Render('index')
2021-12-01 22:18:26 -05:00
@Skip(AuthGuard)
2021-11-23 16:04:12 -05:00
index() {}
2021-11-16 21:14:46 -05:00
}