mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-29 19:29:27 +01:00
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
Block a user