Skip to content

Commit

Permalink
Merge pull request #1 from alex289/feature/edge
Browse files Browse the repository at this point in the history
feat: edge
  • Loading branch information
alex289 authored Oct 19, 2022
2 parents ba7e767 + 92b190a commit 2bc01ae
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { defineConfig } from 'astro/config';
import vercel from "@astrojs/vercel/serverless";
import vercel from "@astrojs/vercel/edge";

// https://astro.build/config
export default defineConfig({
output: 'server',
adapter: vercel()
});
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"format": "prettier -w src/**/*.astro"
},
"dependencies": {
"@astrojs/vercel": "^2.3.0",
"astro": "^1.5.1"
"@astrojs/vercel": "^2.3.1",
"astro": "^1.5.2"
},
"devDependencies": {
"prettier": "^2.7.1",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"cleanUrls": true
}

1 comment on commit 2bc01ae

@vercel
Copy link

@vercel vercel bot commented on 2bc01ae Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.