Added readable mode for article content

This commit is contained in:
2023-10-15 17:44:05 +02:00
parent 3d77c6f30f
commit ee80cbd53b
17 changed files with 151 additions and 53 deletions
+6
View File
@@ -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),
);
}