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.

feat: add feature record (#8400)

darkskygitf833017e4543
diff --git a/packages/backend/server/src/app.ts b/packages/backend/server/src/app.ts
index 07e4dbf1f7..e63a185b19 100644
--- a/packages/backend/server/src/app.ts
+++ b/packages/backend/server/src/app.ts
@@ -5,6 +5,7 @@ import cookieParser from 'cookie-parser';
import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs';
import { AuthGuard } from './core/auth';
+import { ENABLED_FEATURES } from './core/config/server-feature';
import {
CacheInterceptor,
CloudThrottlerGuard,
@@ -56,6 +57,7 @@ export async function createApp() {
.init(AFFiNE.metrics.telemetry.token)
.track('selfhost-server-started', {
version: AFFiNE.version,
+ features: Array.from(ENABLED_FEATURES),
});
}