moving user_agent to constants

This commit is contained in:
neil 2021-03-24 19:48:17 +01:00
parent ae439b25bb
commit 329fe20553
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ 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";
lazy_static! {
pub static ref CONFIG: Config = Config::init();
pub static ref ADJ_LIST: Vec<String> =