From ba5af06cf3f399d5b454ec87473347820d81bd2e Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 10 Dec 2021 01:22:58 +1000 Subject: [PATCH] Use https for xonstat submissions --- qcsrc/common/playerstats.qh | 2 +- xonotic-server.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 2.39.2