fix missing config from commons.js
This commit is contained in:
parent
a07a48df39
commit
21fb4647ab
|
@ -1,4 +1,5 @@
|
|||
module.exports = function(request, fs) {
|
||||
const config = require('../config')
|
||||
this.downloadFile = (url) => {
|
||||
return new Promise(resolve => {
|
||||
request(url, { encoding: 'binary' }, (error, response, body) => {
|
||||
|
|
Loading…
Reference in New Issue