mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-03 19:25:19 +02:00
set up /api/templates route
This commit is contained in:
parent
46bbe4c189
commit
9f9b9e80a1
1 changed files with 6 additions and 0 deletions
6
apps/rowboat/app/api/templates/route.ts
Normal file
6
apps/rowboat/app/api/templates/route.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
import { NextResponse } from 'next/server';
|
||||||
|
import { templates } from '@/app/lib/project_templates';
|
||||||
|
|
||||||
|
export async function GET() {
|
||||||
|
return NextResponse.json(templates);
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue