all new
This commit is contained in:
1 parent
8b121c9e6e
commit
b3061ad79a
11 files changed
+516
-30
No files matched your search
@@ -1,6 +1,7 @@
|
||||
use actix_web::web;
|
||||
|
||||
use crate::views::path::Path;
|
||||
mod add;
|
||||
pub mod feeds;
|
||||
mod get;
|
||||
pub mod structs;
|
||||
@@ -14,4 +15,8 @@ pub fn feed_factory(app: &mut web::ServiceConfig) {
|
||||
&base_path.define(String::from("/get")),
|
||||
web::get().to(get::get),
|
||||
);
|
||||
app.route(
|
||||
&base_path.define(String::from("/add")),
|
||||
web::post().to(add::add),
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user