From 7e623e0a44b06d96314695f68270f73938ca0765 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 19 Aug 2024 10:59:36 -0400 Subject: [PATCH] chore(connector): disable connector flag and WS server by default (#16139) Fixes #16101 --- src/app/global/feature_flags.nim | 2 +- src/env_cli_vars.nim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/global/feature_flags.nim b/src/app/global/feature_flags.nim index 54f2005216..4951fb88c8 100644 --- a/src/app/global/feature_flags.nim +++ b/src/app/global/feature_flags.nim @@ -3,7 +3,7 @@ import os const DEFAULT_FLAG_DAPPS_ENABLED = false const DEFAULT_FLAG_SWAP_ENABLED = true -const DEFAULT_FLAG_CONNECTOR_ENABLED = true +const DEFAULT_FLAG_CONNECTOR_ENABLED = false proc boolToEnv(defaultValue: bool): string = return if defaultValue: "1" else: "0" diff --git a/src/env_cli_vars.nim b/src/env_cli_vars.nim index 3a9ca4ed7d..f8288a6221 100644 --- a/src/env_cli_vars.nim +++ b/src/env_cli_vars.nim @@ -265,12 +265,12 @@ type StatusDesktopConfig = object name: "USE_MOCKED_KEYCARD" abbr: "use-mocked-keycard" .}: bool httpApiEnabled* {. - defaultValue: true + defaultValue: false desc: "Enable HTTP RPC API" name: "HTTP_API" abbr: "http-api" .}: bool wsApiEnabled* {. - defaultValue: true + defaultValue: false desc: "Enable WebSocket RPC API" name: "WS_API" abbr: "ws-api" .}: bool