Use node-fetch

This commit is contained in:
khai96_ 2020-05-08 21:34:25 +07:00
parent 738fb9213f
commit 9979c3d928
5 changed files with 41 additions and 744 deletions

View file

@ -1,4 +1,4 @@
import download from 'download'
import fetch from 'node-fetch'
import url from './url'
export const downloadSelfInstaller = () => download(url)
export const downloadSelfInstaller = () => fetch(url)
export default downloadSelfInstaller