Skip to main content

USER_AGENT

Constant USER_AGENT 

Source
pub const USER_AGENT: &str = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) \
     AppleWebKit/537.36 (KHTML, like Gecko) \
     Chrome/124.0.0.0 Safari/537.36";
Expand description

Use a realistic browser UA everywhere so the target server does not reject requests. (Previously room_list.rs used a different string, causing inconsistent behaviour.)