diff --git a/astro.config.ts b/astro.config.ts index c126077..d6aa489 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -13,6 +13,9 @@ if (process.env.VERCEL) { console.info("Using Vercel (serverless) adapter..."); adapterConfig = { adapter: vercel(), + build: { + split: true, + }, }; } else if (process.env.CF_PAGES) { console.info("Using Cloudflare adapter..."); @@ -41,12 +44,6 @@ if (process.env.VERCEL) { export default defineConfig({ site: "https://s2f.kytta.dev", - redirects: { - "/api/toot": { - destination: "/api/share", - status: 308, - }, - }, compressHTML: true,