Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

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

forehalo3ee794a8f20d
diff --git a/packages/backend/server/src/app.controller.ts b/packages/backend/server/src/app.controller.ts
index 1f483096f7..ff09b3b05a 100644
--- a/packages/backend/server/src/app.controller.ts
+++ b/packages/backend/server/src/app.controller.ts
@@ -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() {