Browse Source

Fixed URL for `pkg` downloads

master
Leo Lamprecht 7 years ago
parent
commit
d2617270bb
  1. 2
      download/src/index.js

2
download/src/index.js

@ -77,7 +77,7 @@ async function main() {
try {
const name = platformToName[process.platform]
const url = `https://cdn.zeit.co/releases/now-cli/${packageJSON.version}/${name}`
const url = `https://cdn.zeit.co/releases/now/${packageJSON.version}/${name}`
const resp = await fetch(url, { compress: false })
if (resp.status !== 200) {

Loading…
Cancel
Save