🐛 Yeah, bug fix again...
This commit is contained in:
		| @@ -1,11 +1,10 @@ | ||||
| import { defineEventHandler } from 'h3' | ||||
| import { solarFetch } from '~/utils/request' | ||||
|  | ||||
| export default defineEventHandler(async () => { | ||||
|   const config = useRuntimeConfig(); | ||||
|   const siteUrl = config.app.baseURL | ||||
|  | ||||
|   const resp = await solarFetch(`${config.public.solarNetworkApi}/cgi/id/well-known/openid-configuration`) | ||||
|   const resp = await fetch(`${config.public.solarNetworkApi}/cgi/id/well-known/openid-configuration`) | ||||
|   const out: Record<string, any> = await resp.json() | ||||
|  | ||||
|   out['authorization_endpoint'] = `${siteUrl}/auth/authorize` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user