diff --git a/astro.config.ts b/astro.config.ts index bffd145..0986baa 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -12,7 +12,7 @@ import icon from 'astro-icon'; import compress from 'astro-compress'; import type { AstroIntegration } from 'astro'; import astrowind from './vendor/integration'; -import fastify from '@astrojs/fastify'; +import node from '@astrojs/node'; import prefetch from '@astrojs/prefetch'; import { readingTimeRemarkPlugin, responsiveTablesRehypePlugin, lazyImagesRehypePlugin } from './src/utils/frontmatter'; @@ -25,7 +25,7 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg export default defineConfig({ output: 'server', - adapter: fastify(), + adapter: node({ mode: 'standalone' }), server: { port: 3000,