Skip to content

Commit 282ac6d

Browse files
committed
add user agent
1 parent dbfc2a2 commit 282ac6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/asset.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export class Asset implements Asset {
5353
protected async authFetch<T>(url: string, options: RequestInit): Promise<AssetResponse<T>> {
5454
const headers = options.headers || {
5555
'Content-Type': 'application/json',
56+
'User-Agent': 'DockerHub-MCP-Server/1.0.0',
5657
};
5758
const token = await this.authenticate();
5859
if (token) {

0 commit comments

Comments
 (0)