Skip to content

Commit 5525f21

Browse files
committed
.
1 parent ac9f6c6 commit 5525f21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/api/[transport]/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as cheerio from 'cheerio'
33
import { z } from 'zod'
44
import { headers } from 'next/headers'
55
import { libs, type SUPPORTED_LIBRARY_NAMES } from '@/app/page'
6+
import packageJson from '../../../../package.json'
67

78
// Extract entries and library names as constants for efficiency
89
// Only support libraries with pmndrs.github.io in their docs_url (which have <page> tags in /llms-full.txt)
@@ -270,7 +271,7 @@ Resources use the \`docs://\` URI scheme:
270271
{
271272
serverInfo: {
272273
name: 'pmndrs-docs',
273-
version: '1.0.0',
274+
version: packageJson.version,
274275
},
275276
},
276277
{

0 commit comments

Comments
 (0)