mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 12:35:50 +00:00
Fix URL compositing in Beast (RIPD-636).
This commit is contained in:
committed by
Tom Ritchford
parent
5b4a501f68
commit
35935adc98
@@ -22,7 +22,7 @@
|
||||
#include <ripple/basics/Log.h>
|
||||
#include <ripple/core/SystemParameters.h>
|
||||
#include <ripple/net/HTTPClient.h>
|
||||
#include <beast/http/ParsedURL.h>
|
||||
#include <beast/http/URL.h>
|
||||
#include <beast/module/core/text/LexicalCast.h>
|
||||
#include <beast/streams/debug_ostream.h>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
@@ -843,9 +843,7 @@ beast::File Config::getValidatorsFile () const
|
||||
|
||||
beast::URL Config::getValidatorsURL () const
|
||||
{
|
||||
//String s = "https://" + VALIDATORS_SITE + VALIDATORS_URI;
|
||||
beast::String s = VALIDATORS_SITE;
|
||||
return beast::ParsedURL (s).url ();
|
||||
return beast::parse_URL (VALIDATORS_SITE).second;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user