add releases endpoint

This commit is contained in:
2025-05-13 14:35:58 +02:00
parent 9c36d1801d
commit 91771bffc9
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
import { db } from '@/server/db'
import { releases } from '@/server/db/schema'
export async function GET() {
const res = await db.select().from(releases)
return Response.json(res)
}