Remove incorrect constant
This commit is contained in:
parent
cbabc0c38e
commit
d11ec0a1ca
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ ipcMain.on('version-info-requested', () => {
|
|||
const req = https.get({
|
||||
hostname: 'api.github.com',
|
||||
path: '/repos/lbryio/lbry-desktop/releases/latest',
|
||||
headers: { 'user-agent': 'LBRY/0.29.4' },
|
||||
headers: { 'user-agent': `LBRY/${localVersion}` },
|
||||
}, res => {
|
||||
if (res.statusCode === 301 || res.statusCode === 302) {
|
||||
requestLatestRelease(res.headers.location, true);
|
||||
|
|
Loading…
Reference in a new issue