HTTPServer: Add config value to specify listen IP

Change default IP to localhost,
Set default SSL to false due to this.
This commit is contained in:
Lion Kortlepel committed 2022-04-28 14:12:26 +02:00
1 parent 0979c8b1e4
commit 974dda9f8b
3 files changed
+9 -3

No files matched your search

+2 -1
View File
@@ -53,7 +53,8 @@ public:
bool SendErrors { true };
bool SendErrorsMessageEnabled { true };
int HTTPServerPort { 8080 };
bool HTTPServerUseSSL { true };
std::string HTTPServerIP { "127.0.0.1" };
bool HTTPServerUseSSL { false };
bool HideUpdateMessages { false };
[[nodiscard]] bool HasCustomIP() const { return !CustomIP.empty(); }
};