🐛 Fix compile error
This commit is contained in:
		| @@ -59,7 +59,6 @@ export default defineNuxtConfig({ | ||||
|   }, | ||||
|  | ||||
|   app: { | ||||
|     baseURL: "https://solsynth.dev", | ||||
|     pageTransition: { name: "page", mode: "out-in" }, | ||||
|     head: { | ||||
|       title: "Solsynth LLC", | ||||
| @@ -168,10 +167,6 @@ export default defineNuxtConfig({ | ||||
|     }, | ||||
|   ], | ||||
|  | ||||
|   gtag: { | ||||
|     id: "G-ZFJ7RX0JXF", | ||||
|   }, | ||||
|  | ||||
|   vite: { | ||||
|     vue: { | ||||
|       template: { | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import { defineEventHandler } from 'h3' | ||||
|  | ||||
| export default defineEventHandler(async () => { | ||||
|   const config = useRuntimeConfig(); | ||||
|   const siteUrl = config.app.baseURL | ||||
|   const siteUrl = config.public.siteUrl | ||||
|  | ||||
|   const resp = await fetch(`${config.public.solarNetworkApi}/cgi/id/well-known/openid-configuration`) | ||||
|   const out: Record<string, any> = await resp.json() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user