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

This commit is contained in:
LongYinan
2023-11-10 01:20:41 +08:00
committed by GitHub
parent 7182b85bd0
commit 9d89e4f7f5

View File

@@ -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;