Add version number to user-agent header on outgoing requests
This commit is contained in:
parent
be6ae038dc
commit
a271fe0eee
3 changed files with 20 additions and 4 deletions
|
@ -273,7 +273,7 @@ function getGotOptions(): GotOptions<null> {
|
|||
ca,
|
||||
headers: {
|
||||
'Cache-Control': 'no-cache',
|
||||
'User-Agent': 'Signal Desktop (+https://signal.org/download)',
|
||||
'User-Agent': `Signal Desktop ${packageJson.version}`,
|
||||
},
|
||||
useElectronNet: false,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue