PUB_KEY_URL

This commit is contained in:
David Baker 2019-12-09 13:59:38 +00:00
parent ecbaf144b2
commit 51227abd2a

View File

@ -10,7 +10,7 @@ const tar = require('tar');
const riotDesktopPackageJson = require('../package.json');
const PUBKEYURL = "https://packages.riot.im/riot-release-key.asc";
const PUB_KEY_URL = "https://packages.riot.im/riot-release-key.asc";
const PACKAGE_URL_PREFIX = "https://github.com/vector-im/riot-web/releases/download/";
async function downloadToFile(url, filename) {
@ -105,7 +105,7 @@ async function main() {
}
resolve(!error);
});
https.get(PUBKEYURL, (resp) => {
https.get(PUB_KEY_URL, (resp) => {
resp.on('data', (chunk) => {
gpgProc.stdin.write(chunk);
});