fix: correct the useragent we use
This commit is contained in:
parent
c5db977c14
commit
3e7076c748
@ -217,7 +217,7 @@ impl AppState {
|
||||
direct_links: Default::default(),
|
||||
http: reqwest::ClientBuilder::new()
|
||||
.redirect(reqwest::redirect::Policy::none())
|
||||
.user_agent("limbusart 0.1.0")
|
||||
.user_agent(format!("{}/{}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION")))
|
||||
.build()
|
||||
.unwrap(),
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user