mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 05:19:23 +00:00
9 lines
188 B
TypeScript
9 lines
188 B
TypeScript
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)
|
|
}
|