diff --git a/apps/server/src/config/default.ts b/apps/server/src/config/default.ts index 3aae4b9d02..8f9b9eb52d 100644 --- a/apps/server/src/config/default.ts +++ b/apps/server/src/config/default.ts @@ -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: '',