chore: less data

This commit is contained in:
Cory Dransfeldt 2024-08-21 12:24:44 -07:00
parent 629df90919
commit 008675f3d9
No known key found for this signature in database
4 changed files with 3 additions and 16 deletions

View file

@ -1,12 +0,0 @@
import EleventyFetch from '@11ty/eleventy-fetch'
export default async function () {
const url = 'https://api.omg.lol/address/cory/statuses/'
const res = EleventyFetch(url, {
duration: '1h',
type: 'json',
}).catch()
const status = await res
return status['response']['statuses'][0]
}