early-access version 3412

This commit is contained in:
pineappleEA
2023-02-22 02:29:07 +01:00
parent 2dc56490ff
commit 9a82fd9a3b
24 changed files with 85 additions and 60 deletions

View File

@@ -71,7 +71,7 @@ struct Client::Impl {
const std::string& jwt_ = "", const std::string& username_ = "",
const std::string& token_ = "") {
if (cli == nullptr) {
cli = std::make_unique<httplib::Client>(host.c_str());
cli = std::make_unique<httplib::Client>(host);
}
if (!cli->is_valid()) {