feat: enable https in production (#4154)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
@@ -115,7 +115,9 @@ export const getDefaultAFFiNEConfig: () => AFFiNEConfig = () => {
|
|||||||
this.node.prod && (this.affine.beta || this.affine.canary),
|
this.node.prod && (this.affine.beta || this.affine.canary),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
https: false,
|
get https() {
|
||||||
|
return !this.node.dev;
|
||||||
|
},
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
port: 3010,
|
port: 3010,
|
||||||
path: '',
|
path: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user