fix(server): earlyAccessPreview env override (#4898)

This commit is contained in:
LongYinan authored and GitHub committed 2023-11-09 17:20:41 +00:00
1 parent 7182b85bd0
commit 9d89e4f7f5
1 file changed
+2 -5
@@ -117,11 +117,8 @@ export const getDefaultAFFiNEConfig: () => AFFiNEConfig = () => {
get deploy() { get deploy() {
return !this.node.dev && !this.node.test; return !this.node.dev && !this.node.test;
}, },
get featureFlags() { featureFlags: {
return { earlyAccessPreview: false,
earlyAccessPreview:
this.node.prod && (this.affine.beta || this.affine.canary),
};
}, },
get https() { get https() {
return !this.node.dev; return !this.node.dev;