fix double https://https:// in useragent
This commit is contained in:
parent
c8c0f691ab
commit
ef8c39ed85
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ pub struct Fetcher {
|
|||
impl Fetcher {
|
||||
pub fn new(bot_name: &str, from: &str) -> Fetcher {
|
||||
let ua_name = format!(
|
||||
"{bot_name}/{} https://{} software: {}",
|
||||
"{bot_name}/{} {} software: {}",
|
||||
env!("CARGO_PKG_VERSION"),
|
||||
env!("CARGO_PKG_HOMEPAGE"),
|
||||
env!("CARGO_PKG_NAME")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue