use app router

This commit is contained in:
Jeffrey Morgan
2023-07-02 22:05:26 -04:00
parent 0efa1f9fb2
commit 35f202f573
2 changed files with 6 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
import models from '../../../../models.json'
import { NextResponse } from 'next/server'
export async function GET(re) {
return NextResponse.json(models)
}