Skip to content

Commit c72e1ab

Browse files
committed
add: support for 'got' HTTP library user agent
- Add /got/i pattern to detect sindresorhus/got library - Common HTTP client used by Node.js tools and automation - Ensures markdown serving for tools using got for requests
1 parent 12a8d75 commit c72e1ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/middleware.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ function isAIOrDevTool(userAgent: string): boolean {
4646
/vscode/i, // VS Code extensions
4747
/intellij/i, // IntelliJ plugins
4848
/sublime/i, // Sublime Text plugins
49+
/got/i, // Got HTTP library (sindresorhus/got)
4950
// Add more patterns as needed
5051
];
5152

0 commit comments

Comments
 (0)