mirror of
https://github.com/nmap/nmap.git
synced 2026-10-09 13:54:49 +00:00
Update the httpd.lua comment, the "list the directory contents" is irrelevant.
This commit is contained in:
parent
2fde134f36
commit
8654d12050
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ end
|
|||
--try to make all file openings from now on relative to the working directory.
|
||||
resource = "./" .. resource
|
||||
|
||||
--If it's a directory, check if it has index.html and if not, try to list it.
|
||||
--If it's a directory, try to load index.html from it.
|
||||
if resource:sub(-1) == "/" then
|
||||
resource = resource .. '/index.html'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue