fix(server): earlyAccessPreview env override (#4898)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user