From fda8a2fcd1dc23a5046157d439defdaec057c9c0 Mon Sep 17 00:00:00 2001 From: Guoqi Sun Date: Sun, 22 Dec 2024 02:14:54 +0800 Subject: [PATCH] chore: fix warning and remove unless config code --- astro.config.mjs | 2 +- src/layouts/base.astro | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 7b9ca2c..da27717 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,6 +5,7 @@ import { defineConfig } from "astro/config" // https://astro.build/config export default defineConfig({ + output: "static", site: "https://astro-air.netlify.app", vite: { worker: { @@ -12,5 +13,4 @@ export default defineConfig({ }, }, integrations: [react(), tailwind(), mdx()], - viewTransitions: true, }) diff --git a/src/layouts/base.astro b/src/layouts/base.astro index 70c1c7b..f67f35a 100644 --- a/src/layouts/base.astro +++ b/src/layouts/base.astro @@ -49,7 +49,8 @@ const config = lang === "zh" ? zh.meta : en.meta - + +