diff --git a/crux-api/server/api/[domain]/crux/history.get.ts b/crux-api/server/api/[domain]/crux/history.get.ts index 566e1327..0fe0a9e3 100644 --- a/crux-api/server/api/[domain]/crux/history.get.ts +++ b/crux-api/server/api/[domain]/crux/history.get.ts @@ -1,6 +1,6 @@ +import { defineCachedEventHandler } from '#imports' import { getRouterParam } from 'h3' import { fetchCrux } from '../../../app/services/crux' -import { defineCachedEventHandler } from '#imports' export default defineCachedEventHandler(async (event) => { const domain = getRouterParam(event, 'domain', { decode: true }) diff --git a/crux-api/server/app/services/crux.ts b/crux-api/server/app/services/crux.ts index e30a1d33..e1dd3c0e 100644 --- a/crux-api/server/app/services/crux.ts +++ b/crux-api/server/app/services/crux.ts @@ -1,7 +1,7 @@ +import { useRuntimeConfig } from '#imports' +import { $fetch } from 'ofetch' import { withHttps, withTrailingSlash } from 'ufo' import type { FetchError } from 'ofetch' -import { $fetch } from 'ofetch' -import { useRuntimeConfig } from '#imports' const cwvKeys = [ 'largest_contentful_paint', diff --git a/docs/components/LighthouseThreeD.vue b/docs/components/LighthouseThreeD.vue index baf8f147..8527def9 100644 --- a/docs/components/LighthouseThreeD.vue +++ b/docs/components/LighthouseThreeD.vue @@ -1,9 +1,9 @@