mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-04-03 18:56:01 +00:00
Fix url
This commit is contained in:
@@ -82,9 +82,8 @@ std::string Http::GET(const std::string& host, int port, const std::string& targ
|
||||
if (status) {
|
||||
*status = res.base().result_int();
|
||||
}
|
||||
|
||||
if (ec)
|
||||
throw beast::system_error { ec };
|
||||
|
||||
// ignore ec
|
||||
|
||||
// If we get here then the connection is closed gracefully
|
||||
return std::string(res.body());
|
||||
|
||||
Reference in New Issue
Block a user