readd cache

This commit is contained in:
Mylloon 2023-04-14 20:59:44 +02:00
parent 6e06837dfd
commit 37ba6bf09d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -12,6 +12,7 @@ pub async fn page(config: web::Data<Config>) -> impl Responder {
#[derive(Content)]
struct Web3Template {}
#[once(time = 60)]
pub fn get_page(config: Config) -> String {
config.tmpl.render(
"web3.html",