summaryrefslogtreecommitdiff
path: root/src/web_service
diff options
context:
space:
mode:
Diffstat (limited to 'src/web_service')
-rw-r--r--src/web_service/web_backend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cpp
index 12a7e4922..dff380cca 100644
--- a/src/web_service/web_backend.cpp
+++ b/src/web_service/web_backend.cpp
@@ -71,7 +71,7 @@ struct Client::Impl {
71 const std::string& jwt_ = "", const std::string& username_ = "", 71 const std::string& jwt_ = "", const std::string& username_ = "",
72 const std::string& token_ = "") { 72 const std::string& token_ = "") {
73 if (cli == nullptr) { 73 if (cli == nullptr) {
74 cli = std::make_unique<httplib::Client>(host.c_str()); 74 cli = std::make_unique<httplib::Client>(host);
75 } 75 }
76 76
77 if (!cli->is_valid()) { 77 if (!cli->is_valid()) {