Adding missing slash

This commit is contained in:
softsimon 2023-05-13 13:23:27 -05:00
parent d3bd434255
commit a447887901
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -93,10 +93,6 @@ function downloadMiningPoolLogos() {
}
function downloadPromoVideoSubtiles() {
// for( const l of promoVideoLanguages ) {
// download(promoPrefix + l + '.vtt', 'https://raw.githubusercontent.com/mempool/mempool-promo/master/subtitles/' + l + '.vtt');
// }
const options = {
host: 'api.github.com',
path: '/repos/mempool/mempool-promo/contents/subtitles',
@ -127,7 +123,7 @@ function downloadPromoVideoSubtiles() {
}
} else {
console.log(`${language.name} is missing, downloading`);
download(`${PATH}promo-video/${language.name}`, language.download_url);
download(`${PATH}/promo-video/${language.name}`, language.download_url);
downloadedCount++;
}
}