mirror of
https://github.com/ollama/ollama.git
synced 2025-08-29 14:38:44 +02:00
fix web build
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import models from '../../../../models.json'
|
import models from '../../../../models.json'
|
||||||
import { NextResponse } from 'next/server'
|
import { NextResponse } from 'next/server'
|
||||||
|
|
||||||
export async function GET(re) {
|
export async function GET() {
|
||||||
return NextResponse.json(models)
|
return NextResponse.json(models)
|
||||||
}
|
}
|
||||||
|
@@ -5,7 +5,7 @@ export const metadata = {
|
|||||||
description: 'A tool for running large language models',
|
description: 'A tool for running large language models',
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function RootLayout({ children }) {
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||||
return (
|
return (
|
||||||
<html lang='en'>
|
<html lang='en'>
|
||||||
<body>{children}</body>
|
<body>{children}</body>
|
||||||
|
Reference in New Issue
Block a user