Remove debug line
This commit is contained in:
parent
ed931e1fac
commit
6057be570c
1 changed files with 0 additions and 1 deletions
1
index.js
1
index.js
|
@ -118,7 +118,6 @@ app.get("/download", async (req, res) => {
|
||||||
var files = fs.readdirSync(path.join(__dirname, 'downloads'))
|
var files = fs.readdirSync(path.join(__dirname, 'downloads'))
|
||||||
for (let index = 0; index < files.length; index++) {
|
for (let index = 0; index < files.length; index++) {
|
||||||
const file = files[index];
|
const file = files[index];
|
||||||
console.log(fileName)
|
|
||||||
if (file.includes(fileName)) {
|
if (file.includes(fileName)) {
|
||||||
fileName = file
|
fileName = file
|
||||||
filePath = path.join(__dirname, 'downloads', fileName)
|
filePath = path.join(__dirname, 'downloads', fileName)
|
||||||
|
|
Loading…
Reference in a new issue