mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
ui: Enable main URL for compatibility reporting
This commit is contained in:
committed by
mborgerson
parent
7d244ae9d0
commit
98719d57f5
@@ -28,6 +28,8 @@
|
||||
#include "json.hpp"
|
||||
using json = nlohmann::json;
|
||||
|
||||
#define DEBUG_COMPAT_SERVICE 0
|
||||
|
||||
CompatibilityReport::CompatibilityReport()
|
||||
{
|
||||
}
|
||||
@@ -64,8 +66,11 @@ bool CompatibilityReport::Send()
|
||||
// Serialize the report
|
||||
const std::string &s = GetSerializedReport();
|
||||
|
||||
#if DEBUG_COMPAT_SERVICE
|
||||
httplib::SSLClient cli("127.0.0.1", 443);
|
||||
// httplib::SSLClient cli("reports.xemu.app", 443);
|
||||
#else
|
||||
httplib::SSLClient cli("reports.xemu.app", 443);
|
||||
#endif
|
||||
|
||||
cli.set_follow_location(true);
|
||||
cli.set_timeout_sec(5);
|
||||
|
||||
Reference in New Issue
Block a user