mirror of
https://codeberg.org/icewind/rss-webhook-trigger.git
synced 2026-11-30 04:00:49 +01:00
send user agent
This commit is contained in:
parent
988f2e4603
commit
f8b59df362
6 changed files with 21 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use reqwest::StatusCode;
|
||||
use std::path::PathBuf;
|
||||
use std::str::FromStr;
|
||||
use reqwest::StatusCode;
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
|
|
@ -34,7 +34,7 @@ pub enum ConfigError {
|
|||
},
|
||||
#[error("Error while parse config file {}: {:#}", path.display(), error)]
|
||||
Parse {
|
||||
error: toml::de::Error,
|
||||
error: toml::de::Error,
|
||||
path: PathBuf,
|
||||
},
|
||||
}
|
||||
|
|
@ -59,4 +59,4 @@ pub enum FetchError {
|
|||
Feed(#[from] FetchFeedError),
|
||||
#[error(transparent)]
|
||||
Hub(#[from] HubError),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue