Skip to content

Commit

Permalink
Added navigator.userAgent to custom user agent for maps requests
Browse files Browse the repository at this point in the history
  • Loading branch information
cgalvan committed Jul 18, 2024
1 parent ebf0811 commit a2f1ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class MigrationMap {
return {
url: url,
headers: {
"X-Amz-User-Agent": `migration-adapter-${PACKAGE_VERSION}`,
"X-Amz-User-Agent": `${navigator.userAgent} migration-adapter-${PACKAGE_VERSION}`,
},
};
};
Expand Down

0 comments on commit a2f1ecb

Please sign in to comment.