fix web build
This commit is contained in:
parent
39b289c6a8
commit
8cc92447e3
|
@ -1,6 +1,6 @@
|
|||
import models from '../../../../models.json'
|
||||
import { NextResponse } from 'next/server'
|
||||
|
||||
export async function GET(re) {
|
||||
export async function GET() {
|
||||
return NextResponse.json(models)
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ export const metadata = {
|
|||
description: 'A tool for running large language models',
|
||||
}
|
||||
|
||||
export default function RootLayout({ children }) {
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang='en'>
|
||||
<body>{children}</body>
|
||||
|
|
Loading…
Reference in a new issue