aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-01-06 23:41:04 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-01-06 23:41:04 -0500
commitb34c5413633ff4faffc626142f0cc83175d94747 (patch)
tree88640012f2e78a6d95e5f8ee421ec16545acb325 /astro.config.mjs
parent5b69ffef23b4d4c3cf32c9918559ef1127a873d4 (diff)
downloadpersonal-website-b34c5413633ff4faffc626142f0cc83175d94747.tar.gz
personal-website-b34c5413633ff4faffc626142f0cc83175d94747.tar.bz2
personal-website-b34c5413633ff4faffc626142f0cc83175d94747.zip
Add Astro Vercel serverless adapter and update Astro version in package.json
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs8
1 files changed, 6 insertions, 2 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index 5db1b38..94c0fa4 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,7 +1,11 @@
import { defineConfig } from 'astro/config';
import icon from "astro-icon";
+import vercel from "@astrojs/vercel/serverless";
+
// https://astro.build/config
export default defineConfig({
- integrations: [icon()],
-});
+ integrations: [icon()],
+ output: "server",
+ adapter: vercel()
+}); \ No newline at end of file