Tweak defaults for the HTTP preferences

Connections to GrooveStats are now allowed by default.
This commit is contained in:
Martin Natano
2022-04-13 21:56:04 +02:00
parent 3ca3bb0773
commit 692310a0e4
+2 -2
View File
@@ -23,8 +23,8 @@
NetworkManager* NETWORK = nullptr; // global and accessible from anywhere in our program
Preference<bool> NetworkManager::httpEnabled("HttpEnabled", false, nullptr, PreferenceType::Immutable);
Preference<RString> NetworkManager::httpAllowHosts("HttpAllowHosts", "", nullptr, PreferenceType::Immutable);
Preference<bool> NetworkManager::httpEnabled("HttpEnabled", true, nullptr, PreferenceType::Immutable);
Preference<RString> NetworkManager::httpAllowHosts("HttpAllowHosts", "api.groovestats.com", nullptr, PreferenceType::Immutable);
static const char *HttpErrorCodeNames[] = {
"Blocked",