mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-29 19:30:33 +01:00
add cache to maintenance
This commit is contained in:
@@ -5,6 +5,7 @@ export default defineEventHandler(async () => {
|
|||||||
},
|
},
|
||||||
cacheStrategy: {
|
cacheStrategy: {
|
||||||
ttl: 60 * 60 * 24,
|
ttl: 60 * 60 * 24,
|
||||||
|
swr: 60 * 5,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
let enabled = true
|
let enabled = true
|
||||||
|
|||||||
Reference in New Issue
Block a user