mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 09:52:49 +08:00
chore(server): change default deployment type in dev mode (#11593)
This commit is contained in:
@@ -80,7 +80,7 @@ export class Env implements AppEnv {
|
|||||||
);
|
);
|
||||||
DEPLOYMENT_TYPE = readEnv(
|
DEPLOYMENT_TYPE = readEnv(
|
||||||
'DEPLOYMENT_TYPE',
|
'DEPLOYMENT_TYPE',
|
||||||
DeploymentType.Selfhosted,
|
this.dev ? DeploymentType.Affine : DeploymentType.Selfhosted,
|
||||||
Object.values(DeploymentType)
|
Object.values(DeploymentType)
|
||||||
);
|
);
|
||||||
FLAVOR = readEnv('SERVER_FLAVOR', Flavor.AllInOne, Object.values(Flavor));
|
FLAVOR = readEnv('SERVER_FLAVOR', Flavor.AllInOne, Object.values(Flavor));
|
||||||
|
|||||||
Reference in New Issue
Block a user