feat: support disable legacy cloud (#2006)

This commit is contained in:
Himself65 authored and GitHub committed 2023-04-18 02:23:00 -05:00
1 parent 94063352f5
commit f6fb049ff2
11 files changed
+64 -24

No files matched your search

+3
View File
@@ -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'
),