mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 11:12:00 +10:00
🚀 release v3.0.0
This commit is contained in:
17
server/src/fonts/fonts.controller.ts
Normal file
17
server/src/fonts/fonts.controller.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { CacheInterceptor, Controller, Get, UseGuards, UseInterceptors } from '@nestjs/common';
|
||||
|
||||
import { JwtAuthGuard } from '@/auth/guards/jwt.guard';
|
||||
|
||||
import { FontsService } from './fonts.service';
|
||||
|
||||
@Controller('fonts')
|
||||
@UseInterceptors(CacheInterceptor)
|
||||
export class FontsController {
|
||||
constructor(private fontsService: FontsService) {}
|
||||
|
||||
@UseGuards(JwtAuthGuard)
|
||||
@Get()
|
||||
getAll() {
|
||||
return this.fontsService.getAll();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user