add xml
This commit is contained in:
parent
57d408a357
commit
aa5003b440
1 changed files with 2 additions and 0 deletions
|
@ -113,7 +113,9 @@ fn build_post(file: &str, config: Config) -> String {
|
|||
}
|
||||
|
||||
#[routes]
|
||||
#[get("/blog/blog.xml")]
|
||||
#[get("/blog/blog.rss")]
|
||||
#[get("/blog/rss.xml")]
|
||||
#[get("/blog/rss")]
|
||||
pub async fn rss(config: web::Data<Config>) -> impl Responder {
|
||||
HttpResponse::Ok()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue