2025-03-22 23:43:15 +08:00

9 lines
243 B
TypeScript

import { defineEventHandler } from 'h3'
export default defineEventHandler(async () => {
const config = useRuntimeConfig();
const resp = await fetch(`${config.public.solarNetworkApi}/cgi/id/well-known/jwks`)
return await resp.json()
})