mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
add warning notice
This commit is contained in:
parent
04f4387534
commit
9a7d1baa6b
1 changed files with 3 additions and 0 deletions
|
|
@ -172,6 +172,9 @@ fn rss(meta: &State<Meta>, public: &State<Public>) -> Result<RawXml<String>, Cus
|
|||
fn rocket() -> _ {
|
||||
use clap::Parser;
|
||||
let config = Config::parse();
|
||||
if config.canonical_url.is_none() {
|
||||
warn!("Canonical URL option is required for the RSS feed by the specification!") // @TODO
|
||||
}
|
||||
let scraper = Scraper::init(
|
||||
config
|
||||
.scrape
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue