mirror of
https://github.com/ollama/ollama.git
synced 2025-08-27 16:51:14 +02: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