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): earlyAccessPreview env override (#4898)

LongYinan9d89e4f7f5b7
diff --git a/packages/backend/server/src/config/default.ts b/packages/backend/server/src/config/default.ts
index 4a6fcab1e2..271c72a94b 100644
--- a/packages/backend/server/src/config/default.ts
+++ b/packages/backend/server/src/config/default.ts
@@ -117,11 +117,8 @@ export const getDefaultAFFiNEConfig: () => AFFiNEConfig = () => {
get deploy() {
return !this.node.dev && !this.node.test;
},
- get featureFlags() {
- return {
- earlyAccessPreview:
- this.node.prod && (this.affine.beta || this.affine.canary),
- };
+ featureFlags: {
+ earlyAccessPreview: false,
},
get https() {
return !this.node.dev;