feat: migrate Payload CMS to MDX and harden static infrastructure

This commit is contained in:
2026-05-04 14:48:04 +02:00
parent d51e220802
commit d3141187ee
165 changed files with 7654 additions and 16136 deletions

View File

@@ -1,16 +0,0 @@
import { getPayload } from 'payload'
import config from '@payload-config'
export async function GET() {
const payload = await getPayload({ config })
await payload.update({
collection: 'pages',
id: 6,
data: {
excerpt: '',
},
})
return Response.json({ success: true, message: 'AVB excerpt cleared' })
}