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
2022-04-28 14:12:26 +02:00
parent 0979c8b1e4
commit 974dda9f8b
3 changed files with 9 additions and 3 deletions

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(); }
};