feat: add rss feed and remove rev feature

This commit is contained in:
Jet 2026-03-26 18:15:43 -07:00
parent 3937d8fd75
commit 5356e2dbb4
No known key found for this signature in database
8 changed files with 268 additions and 13 deletions

View file

@ -53,6 +53,7 @@ pub async fn run() -> Result<(), Box<dyn std::error::Error>> {
get(handlers::get_questions).post(handlers::post_question),
)
.route("/api/questions/stats", get(handlers::get_question_stats))
.route("/qa/rss.xml", get(handlers::get_question_rss))
.route("/api/webhook", post(handlers::webhook))
.layer(CorsLayer::permissive())
.with_state(state);