forked from vikunja/website
fix: do not prerender api routes
This commit is contained in:
parent
d1b8eb4ed3
commit
35a2dbdcce
@ -1,3 +1,5 @@
|
||||
export const prerender = false
|
||||
|
||||
export async function GET() {
|
||||
return new Response(JSON.stringify({
|
||||
healthy: true,
|
||||
|
@ -3,6 +3,8 @@ import {TURNSTILE_SECRET} from 'astro:env/server'
|
||||
|
||||
const LIST_ID = 'f0bc9ec2-56a4-48c8-baad-7a31b137484e'
|
||||
|
||||
export const prerender = false
|
||||
|
||||
export async function POST({request}: APIContext) {
|
||||
const body = await request.formData()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user