mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 11:30:04 +08:00
refactor(server): better selfhost deployment (#9036)
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
// ====================================================================================
|
||||
const env = process.env;
|
||||
|
||||
AFFiNE.serverName = AFFiNE.affine.canary
|
||||
? 'AFFiNE Canary Cloud'
|
||||
: AFFiNE.affine.beta
|
||||
? 'AFFiNE Beta Cloud'
|
||||
: 'AFFiNE Cloud';
|
||||
AFFiNE.metrics.enabled = !AFFiNE.node.test;
|
||||
|
||||
if (env.R2_OBJECT_STORAGE_ACCOUNT_ID) {
|
||||
|
||||
Reference in New Issue
Block a user