Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from Sikarii/master
Browse files Browse the repository at this point in the history
Use HTTPS for GlobalAPI
  • Loading branch information
Szwagi authored Oct 3, 2021
2 parents 87df4c3 + 477834a commit e9f5fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/include/globalpb.inc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stock bool RequestGlobalPB(int client, const char[] map, int course, int mode, b

char link[512];
Format(link, sizeof(link),
"http://kztimerglobal.com/api/v1.0/records/top?steam_id=%s&map_name=%s&stage=%d&modes_list_string=%s&has_teleports=%s&limit=1&tickrate=128",
"https://kztimerglobal.com/api/v1.0/records/top?steam_id=%s&map_name=%s&stage=%d&modes_list_string=%s&has_teleports=%s&limit=1&tickrate=128",
steamid, map, course, gC_APIModes[mode], teleports ? "true" : "false");

Handle request = SteamWorks_CreateHTTPRequest(k_EHTTPMethodGET, link);
Expand Down

0 comments on commit e9f5fc9

Please sign in to comment.