feat: support disable legacy cloud (#2006)
This commit is contained in:
1 parent
94063352f5
commit
f6fb049ff2
11 files changed
+64
-24
No files matched your search
@@ -1,6 +1,9 @@
|
||||
import 'dotenv/config';
|
||||
|
||||
const config = {
|
||||
enableLegacyCloud: process.env.ENABLE_LEGACY_PROVIDER
|
||||
? process.env.ENABLE_LEGACY_PROVIDER === 'true'
|
||||
: true,
|
||||
enableBroadCastChannelProvider: Boolean(
|
||||
process.env.ENABLE_BC_PROVIDER ?? '1'
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user