diff --git a/src/ur/dashboard_client_implementation_x.cpp b/src/ur/dashboard_client_implementation_x.cpp index 6ac40f78..571a82cc 100644 --- a/src/ur/dashboard_client_implementation_x.cpp +++ b/src/ur/dashboard_client_implementation_x.cpp @@ -47,6 +47,10 @@ namespace urcl DashboardClientImplX::DashboardClientImplX(const std::string& host) : DashboardClientImpl(host) { cli_ = std::make_unique("http://" + host); + + // Some targets have changed between versions redirecting to the correct endpoint. For this to + // work, we'll have to follow redirects, which is not the default for httplib. + cli_->set_follow_location(true); } std::string DashboardClientImplX::sendAndReceive(const std::string& text)