From 23362b806b8b4728ec0bcf0352da207495dce696 Mon Sep 17 00:00:00 2001 From: nyyu Date: Mon, 1 Nov 2021 08:36:06 +0100 Subject: [PATCH] upgrade user agent --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 00d2fb8..abbd4bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -48,7 +48,7 @@ pub struct ChampInfo { } const USER_AGENT_VALUE: &str = - "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"; + "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"; const DEFAULT_LOL_CHAMPS_DIR: &str = ".\\champs"; #[cfg(target_os = "windows")] const REG_KEY_LOL_RADS: &str = r"SOFTWARE\WOW6432Node\Riot Games\RADS";