Enable web services on Android in Github build (#6555)

* Enable web services in android

* Fix web services build on android

* clang-format

* Remove unnecessary line

* Set telemetry to be disabled by default on all platforms
This commit is contained in:
Rokkubro 2023-05-24 02:06:14 +10:00 committed by GitHub
parent 2281bf5b0b
commit 72b82ef6ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 8 deletions

View file

@ -21,6 +21,8 @@ std::optional<std::vector<u8>> Download(const std::string& path) {
httplib::Request request{
.method = "GET",
.path = path,
// Needed when httplib is included on android
.matches = httplib::Match(),
};
client->set_follow_location(true);