Skip to content

Commit b726e7c

Browse files
test: GET request
1 parent 8aa5366 commit b726e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/api/capt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const serverOptions = {
2626
headless: true,
2727
}
2828

29-
export const POST: APIRoute = async ({ url }) => {
29+
export const GET: APIRoute = async ({ url }) => {
3030
const isDev = url.searchParams.get('dev') === 'true'
3131
const options = isDev ? Localoptions : serverOptions
3232

0 commit comments

Comments
 (0)