Skip to content

Commit

Permalink
fix vercel config
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill committed Mar 31, 2024
1 parent 0536032 commit fc623f6
Show file tree
Hide file tree
Showing 3 changed files with 294 additions and 4 deletions.
5 changes: 2 additions & 3 deletions apps/docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import simpleStackForm from "simple-stack-form";
import { defineConfig } from "astro/config";

import netlify from "@astrojs/netlify";
import vercel from "@astrojs/vercel/serverless";

// https://astro.build/config
export default defineConfig({
Expand All @@ -30,5 +29,5 @@ export default defineConfig({
simpleStackForm(),
],
output: "hybrid",
adapter: netlify({ edgeMiddleware: true }),
adapter: vercel(),
});
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"dependencies": {
"@astrojs/db": "^0.8.6",
"@astrojs/mdx": "^2.2.0",
"@astrojs/netlify": "^5.2.0",
"@astrojs/react": "^3.1.0",
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.1.1",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/vercel": "^7.5.0",
"@hookform/resolvers": "^3.3.4",
"@iconify-json/lucide": "^1.1.174",
"@iconify-json/mdi": "^1.1.64",
Expand Down
Loading

0 comments on commit fc623f6

Please sign in to comment.