Added readable mode for article content
This commit is contained in:
1 parent
3d77c6f30f
commit
ee80cbd53b
17 files changed
+151
-53
No files matched your search
@@ -4,6 +4,8 @@ use crate::views::path::Path;
|
||||
mod add;
|
||||
pub mod feeds;
|
||||
mod get;
|
||||
mod read;
|
||||
mod scraper;
|
||||
pub mod structs;
|
||||
mod sync;
|
||||
|
||||
@@ -24,4 +26,8 @@ pub fn feed_factory(app: &mut web::ServiceConfig) {
|
||||
&base_path.define(String::from("/sync")),
|
||||
actix_web::Route::to(web::post(), sync::sync),
|
||||
);
|
||||
app.route(
|
||||
&base_path.define(String::from("/read")),
|
||||
actix_web::Route::to(web::post(), read::read),
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user