cache for rss
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-04-26 16:22:54 +02:00
parent c2a9393ef1
commit ee9c5fbdd1
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -181,7 +181,7 @@ pub async fn rss(req: HttpRequest, config: web::Data<Config>) -> impl Responder
))
}
//#[once(time = 10800)] // 3h
#[once(time = 10800)] // 3h
fn build_rss(config: Config, info: ConnectionInfo) -> String {
let mut posts = get_posts("data/blog");