chore: less data
This commit is contained in:
parent
629df90919
commit
008675f3d9
4 changed files with 3 additions and 16 deletions
|
@ -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]
|
||||
}
|
Reference in a new issue