mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 23:09:26 +01:00
Suppression des références aux certifications dans la documentation, la configuration et les endpoints API.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import { queryCollection } from '@nuxt/content/server'
|
||||
|
||||
export default defineCachedEventHandler(async (event) => {
|
||||
return await queryCollection(event, 'certifications')
|
||||
.where('extension', '=', 'json')
|
||||
.first()
|
||||
}, {
|
||||
name: 'certifications-list',
|
||||
maxAge: 3600 // 1 hour
|
||||
})
|
||||
Reference in New Issue
Block a user