mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
fix web build
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user