idk i did a thing
This commit is contained in:
parent
77bf30fada
commit
a986e78cd7
|
@ -1097,7 +1097,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rss-anime-notifier-rs"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"reqwest",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "rss-anime-notifier-rs"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
authors = ["blank X <theblankx@protonmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ async fn main() {
|
|||
let client = Client::new();
|
||||
let client = warp::any().map(move || client.clone());
|
||||
let log = warp::log("rss-anime-notifier-rs");
|
||||
let bare_path = warp::path!(usize).and(client.clone()).and_then(give_response).with(log);
|
||||
let bare_path = warp::path!(usize).and(client).and_then(give_response).with(log);
|
||||
|
||||
let routes = warp::get().and(bare_path);
|
||||
eprintln!("INFO: Listening on 127.0.0.1:{}", port);
|
||||
|
|
Loading…
Reference in New Issue