diff --git a/components/sections/CoinSection.vue b/components/sections/CoinSection.vue index fd06da63..71644e3e 100644 --- a/components/sections/CoinSection.vue +++ b/components/sections/CoinSection.vue @@ -200,8 +200,10 @@ const size = computed(() => { }) onMounted(async () => { - const latestRelease = await getLatestRelease(window.navigator) - release.value = latestRelease + if (import.meta.client) { + const latestRelease = await getLatestRelease(window.navigator) + release.value = latestRelease + } }) // const { t } = useI18n() diff --git a/nuxt.config.ts b/nuxt.config.ts index dc60eada..bc10d53d 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,7 +5,7 @@ import { languageLocales } from './constants' export default defineNuxtConfig({ ssr: true, app: { - baseURL: '/website/', + baseURL: '/', head: { title: 'Wit/Oracle: The most powerful oracle, provably.', meta: [