forked from rosebudai/OpenRCT2-Web
Fix #7696: Servers do not get registered on master server list
Correct the HTTP method used for the heartbeat request.
This commit is contained in:
1 parent
ee50895d81
commit
182bc1afe6
1 file changed
+1
-1
@@ -127,7 +127,7 @@ private:
|
||||
{
|
||||
Http::Request request;
|
||||
request.url = GetMasterServerUrl();
|
||||
request.method = Http::Method::POST;
|
||||
request.method = Http::Method::PUT;
|
||||
|
||||
json_t * body = GetHeartbeatJson();
|
||||
request.body = json_dumps(body, JSON_COMPACT);
|
||||
|
||||
Reference in new issue
Block a user