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

moving user_agent to constants

This commit is contained in:
neil 2021-03-24 19:48:17 +01:00
parent ae439b25bb
commit 329fe20553

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 NAME_LIST_FILE: &str = "./name-list.txt";
pub const LOC_FILE: &str = "./lang.json"; 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! { lazy_static! {
pub static ref CONFIG: Config = Config::init(); pub static ref CONFIG: Config = Config::init();
pub static ref ADJ_LIST: Vec<String> = pub static ref ADJ_LIST: Vec<String> =