We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac9f6c6 commit 5525f21Copy full SHA for 5525f21
src/app/api/[transport]/route.ts
@@ -3,6 +3,7 @@ import * as cheerio from 'cheerio'
3
import { z } from 'zod'
4
import { headers } from 'next/headers'
5
import { libs, type SUPPORTED_LIBRARY_NAMES } from '@/app/page'
6
+import packageJson from '../../../../package.json'
7
8
// Extract entries and library names as constants for efficiency
9
// 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:
270
271
{
272
serverInfo: {
273
name: 'pmndrs-docs',
- version: '1.0.0',
274
+ version: packageJson.version,
275
},
276
277
0 commit comments