corrected a bug on delFile function in local page

This commit is contained in:
Kylart 2017-03-05 21:00:01 +01:00
parent 23b9966258
commit c1b5e346b8
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ exports.playFile = (name) => {
}
exports.delFile = (object, name) => {
const namePath = path.join(DIR, name)
const namePath = path.join(self.DIR, name)
fs.unlink(namePath, () => {
console.log(`${name} was deleted.`)