Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ur/dashboard_client_implementation_x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ namespace urcl
DashboardClientImplX::DashboardClientImplX(const std::string& host) : DashboardClientImpl(host)
{
cli_ = std::make_unique<httplib::Client>("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)
Expand Down
Loading