From: bones_was_here Date: Thu, 9 Dec 2021 15:22:58 +0000 (+1000) Subject: Use https for xonstat submissions X-Git-Tag: xonotic-v0.8.5~249^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ba5af06cf3f399d5b454ec87473347820d81bd2e;p=xonotic%2Fxonotic-data.pk3dir.git Use https for xonstat submissions --- diff --git a/qcsrc/common/playerstats.qh b/qcsrc/common/playerstats.qh index d41a097d6..468645b36 100644 --- a/qcsrc/common/playerstats.qh +++ b/qcsrc/common/playerstats.qh @@ -88,7 +88,7 @@ void PlayerStats_GameReport_Handler(entity fh, entity pass, float status); //string autocvar_g_playerstats_uri; string autocvar_g_playerstats_gamereport_ladder; -string autocvar_g_playerstats_gamereport_uri = "http://stats.xonotic.org/stats/submit"; +string autocvar_g_playerstats_gamereport_uri = "https://stats.xonotic.org/stats/submit"; const float PS_B_STATUS_ERROR = -2; const float PS_B_STATUS_IDLE = -1; diff --git a/xonotic-server.cfg b/xonotic-server.cfg index 1f7a0c088..d83357851 100644 --- a/xonotic-server.cfg +++ b/xonotic-server.cfg @@ -548,7 +548,7 @@ set g_frozen_damage_trigger 1 "if 1, frozen players falling into the void/lava/s set g_frozen_force 0.6 "How much to multiply the force on a frozen player with" // player statistics -set g_playerstats_gamereport_uri "http://stats.xonotic.org/stats/submit" "Output player statistics information to either: URL (with ://), console (with a dash like this: -), or supply a filename to output to data directory." +set g_playerstats_gamereport_uri "https://stats.xonotic.org/stats/submit" "Output player statistics information to either: URL (with ://), console (with a dash like this: -), or supply a filename to output to data directory." set g_playerstats_gamereport_ladder "" set g_playerstats_playerbasic_uri "http://stats.xonotic.org" set g_playerstats_playerdetail_uri "http://stats.xonotic.org/player/me"