diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-27 22:40:56 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-27 22:47:46 +0100 |
commit | 261a71a0a4ad42da84d310d86137aac3de9f843b (patch) | |
tree | 5d04ef8c9e13bee56f8152e62dd4f35c7ef24478 /pkgs/by-name/ba/back/src/main.rs | |
parent | feat(back/src/issues/issue): implement Display for Author (diff) | |
download | nixos-server-261a71a0a4ad42da84d310d86137aac3de9f843b.zip |
feat(back): add rss feed
Co-authored-by: Silas Schöffel <sils@sils.li>
Diffstat (limited to 'pkgs/by-name/ba/back/src/main.rs')
-rw-r--r-- | pkgs/by-name/ba/back/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/by-name/ba/back/src/main.rs b/pkgs/by-name/ba/back/src/main.rs index b75737a..961c39b 100644 --- a/pkgs/by-name/ba/back/src/main.rs +++ b/pkgs/by-name/ba/back/src/main.rs @@ -14,6 +14,7 @@ use std::process; use clap::Parser; use config::BackConfig; use rocket::routes; +use web::feed; use crate::web::{closed, open, show_issue, styles}; @@ -39,7 +40,7 @@ async fn rocket_main() -> Result<(), error::Error> { let config = BackConfig::from_config_file(&args.config_file)?; rocket::build() - .mount("/", routes![open, closed, show_issue, styles]) + .mount("/", routes![open, closed, show_issue, styles, feed]) .manage(config) .ignite() .await |