From 692310a0e47d24c237458f084a3a93d8f35c0371 Mon Sep 17 00:00:00 2001 From: Martin Natano Date: Wed, 13 Apr 2022 21:56:04 +0200 Subject: [PATCH] Tweak defaults for the HTTP preferences Connections to GrooveStats are now allowed by default. --- src/NetworkManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NetworkManager.cpp b/src/NetworkManager.cpp index b5ceedc174..c441fe1014 100644 --- a/src/NetworkManager.cpp +++ b/src/NetworkManager.cpp @@ -23,8 +23,8 @@ NetworkManager* NETWORK = nullptr; // global and accessible from anywhere in our program -Preference NetworkManager::httpEnabled("HttpEnabled", false, nullptr, PreferenceType::Immutable); -Preference NetworkManager::httpAllowHosts("HttpAllowHosts", "", nullptr, PreferenceType::Immutable); +Preference NetworkManager::httpEnabled("HttpEnabled", true, nullptr, PreferenceType::Immutable); +Preference NetworkManager::httpAllowHosts("HttpAllowHosts", "api.groovestats.com", nullptr, PreferenceType::Immutable); static const char *HttpErrorCodeNames[] = { "Blocked",