mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 08:12:08 +03:00
feat: enable https in production (#4154)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
parent
1066a8ca74
commit
e72a10153e
@ -115,7 +115,9 @@ export const getDefaultAFFiNEConfig: () => AFFiNEConfig = () => {
|
||||
this.node.prod && (this.affine.beta || this.affine.canary),
|
||||
};
|
||||
},
|
||||
https: false,
|
||||
get https() {
|
||||
return !this.node.dev;
|
||||
},
|
||||
host: 'localhost',
|
||||
port: 3010,
|
||||
path: '',
|
||||
|
Loading…
Reference in New Issue
Block a user