We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f28687e commit 632f04fCopy full SHA for 632f04f
src/ui/utils/fetch.ts
@@ -40,7 +40,7 @@ export function createFetchWrapper(baseUrl?: string) {
40
'Content-Type': 'application/json',
41
'Accept': 'application/json',
42
'X-Requested-With': 'XMLHttpRequest',
43
- 'X-PlusAuth-Widget-Version': `${version}`
+ 'User-Agent': `${navigator.userAgent} PlusAuthWidget/${version}`
44
}, fetchOptions.headers || {})
45
46
if (fetchOptions.body) {
0 commit comments