19 lines
352 B
TypeScript
19 lines
352 B
TypeScript
import { Metadata } from 'next'
|
|
|
|
import { Header } from '@/components/header'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'API'
|
|
}
|
|
|
|
const serverUrl = process.env.NEXT_PUBLIC_TABBY_SERVER_URL || ''
|
|
|
|
export default function IndexPage() {
|
|
return (
|
|
<>
|
|
<Header />
|
|
<iframe className="grow" src={`${serverUrl}/swagger-ui`} />
|
|
</>
|
|
)
|
|
}
|