b7addb5c7a
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
222 B
TypeScript
9 lines
222 B
TypeScript
export default defineEventHandler(async () => {
|
|
try {
|
|
const raw = await $fetch<string>('https://keai.icu/apiwyy/api', { responseType: 'text' })
|
|
return JSON.parse(raw as string)
|
|
} catch {
|
|
return null
|
|
}
|
|
})
|