fix(server): do not throttle healthy checking api (#6771)

This commit is contained in:
forehalo
2024-05-06 06:59:49 +00:00
parent 527ffa6b3f
commit 3ee794a8f2

View File

@@ -1,12 +1,13 @@
import { Controller, Get } from '@nestjs/common';
import { Public } from './core/auth';
import { Config } from './fundamentals/config';
import { Config, SkipThrottle } from './fundamentals';
@Controller('/')
export class AppController {
constructor(private readonly config: Config) {}
@SkipThrottle()
@Public()
@Get()
info() {