diff options
Diffstat (limited to 'src/web_service')
| -rw-r--r-- | src/web_service/web_backend.cpp | 2 | 
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()) {  | 
