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() { 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;