From 3b82283cfdb19111d03d7ffe26bd3fb14d7e0af4 Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 24 Mar 2021 19:48:59 +0100 Subject: [PATCH] setting user_agent back to actix-web --- src/config.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 38207ea..a9e087d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -15,8 +15,7 @@ pub const ADJ_LIST_FILE: &str = "./adj-list.txt"; pub const NAME_LIST_FILE: &str = "./name-list.txt"; pub const LOC_FILE: &str = "./lang.json"; -//pub const USER_AGENT: &str = "Actix-web"; -pub const USER_AGENT: &str = "Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0"; +pub const USER_AGENT: &str = "Actix-web"; lazy_static! { pub static ref CONFIG: Config = Config::init();