Remove password check
This commit is contained in:
parent
97fe133c92
commit
7faecc66b9
1 changed files with 0 additions and 3 deletions
3
index.js
3
index.js
|
@ -44,9 +44,6 @@ app.get("/*", (req, res) => {
|
||||||
const file = dirContents[index];
|
const file = dirContents[index];
|
||||||
res.write(`<a href="./${file}">${file}</a><br>`)
|
res.write(`<a href="./${file}">${file}</a><br>`)
|
||||||
}
|
}
|
||||||
if (passwd) {
|
|
||||||
res.write(`<br><a href="/dashboard.html?folder=${file}">Dashboard page for this folder</a><br>`)
|
|
||||||
}
|
|
||||||
|
|
||||||
res.write(baseEnd)
|
res.write(baseEnd)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue