1
0
Fork 0
mirror of https://git.42l.fr/neil/sncf.git synced 2024-05-02 06:02:45 +02:00

setting user_agent back to actix-web

This commit is contained in:
neil 2021-03-24 19:48:59 +01:00
parent 329fe20553
commit 3b82283cfd

View file

@ -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();