summaryrefslogtreecommitdiff
path: root/src/web_service/web_backend.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-02-21 18:57:55 -0500
committerGitHub <noreply@github.com>2023-02-21 18:57:55 -0500
commitba05301e1b91086d9286bd6cef99423ef409f0e6 (patch)
treefff7e208e4fcdf0d956660e98696f89d13a6bf59 /src/web_service/web_backend.cpp
parent5a657488e14cb077f7c12392477f21c46957b18f (diff)
parent83afc124759673af58435b8791dd357bf751642c (diff)
Merge pull request #9841 from abouvier/httplib-update
externals: Update cpp-httplib to latest
Diffstat (limited to 'src/web_service/web_backend.cpp')
-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 {
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()) {