Skip to content

Commit 3c7b60d

Browse files
Copilotabernier
andcommitted
Remove redundant URL validation in resource registration
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
1 parent b0825e0 commit 3c7b60d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ const handler = createMcpHandler(
5454
},
5555
async () => {
5656
let url: string = lib.docs_url
57-
if (!url) throw new Error(`URL not found for ${libname}`)
5857

5958
if (url.startsWith('/')) {
6059
url = toAbsoluteUrl(url)

0 commit comments

Comments
 (0)