readd cache
This commit is contained in:
parent
6e06837dfd
commit
37ba6bf09d
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue