Skip to content

Commit 30f1674

Browse files
committed
astro v5
1 parent 33c1019 commit 30f1674

File tree

4 files changed

+1216
-999
lines changed

4 files changed

+1216
-999
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ package-lock.json
107107
!.yarn/versions
108108

109109
# astro
110-
**/.astro/settings.json
110+
**/.astro

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
"author": "Dev Protocol",
1717
"license": "MPL-2.0",
1818
"dependencies": {
19-
"@astrojs/vercel": "^7.8.2",
19+
"@astrojs/vercel": "8.0.4",
2020
"@devprotocol/util-ts": "^4.0.0",
2121
"@sparticuz/chromium-min": "^130.0.0",
22-
"astro": "^4.16.3",
22+
"astro": "5.1.10",
2323
"puppeteer-core": "23.6.0",
2424
"ramda": "0.30.1"
2525
},

src/pages/api/generate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export const GET: APIRoute = async ({ url }) => {
2828
const { isDev, height, width } = {
2929
isDev: url.searchParams.get('dev') === 'true',
3030
height: url.searchParams.get('h'),
31-
width: url.searchParams.get('w')
32-
};
31+
width: url.searchParams.get('w'),
32+
}
3333
const options = isDev ? Localoptions : serverOptions
3434

3535
try {

0 commit comments

Comments
 (0)