diff --git a/astro.config.mjs b/astro.config.mjs index 990e89e..c985b33 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -82,6 +82,9 @@ export default defineConfig({ devToolbar: { enabled: false }, + experimental: { + serverIslands: true + }, vite: { css: { preprocessorOptions: { diff --git a/src/components/blog/posts.astro b/src/components/blog/posts.astro index fe215ff..444dccf 100644 --- a/src/components/blog/posts.astro +++ b/src/components/blog/posts.astro @@ -4,9 +4,7 @@ const posts = await ghostClient.posts .browse({ limit: "all", }) - .catch((err) => { - console.error(err); - }); + .catch(() => {null}) ---