diff --git a/docs/app/app.vue b/docs/app/app.vue index 26f15909..d7319c20 100644 --- a/docs/app/app.vue +++ b/docs/app/app.vue @@ -9,7 +9,7 @@ const runtimeConfig = useRuntimeConfig() const { integrity, api } = runtimeConfig.public.content const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation(), { default: () => [] }) -const { data: files } = await useLazyFetch(`${api.baseURL}/search${integrity ? '.' + integrity : ''}`, { default: () => [] }) +const { data: files } = await useLazyFetch(`${api.baseURL}/search${integrity ? '-' + integrity : ''}`, { default: () => [] }) const searchTerm = ref('') @@ -71,24 +71,29 @@ useServerSeoMeta({ }) provide('navigation', navigation) -provide('files', files) diff --git a/docs/app/components/content/ComponentCode.vue b/docs/app/components/content/ComponentCode.vue index 0144bfa4..1c971c27 100644 --- a/docs/app/components/content/ComponentCode.vue +++ b/docs/app/components/content/ComponentCode.vue @@ -2,6 +2,7 @@