minor tweaks; updated todo.txt
This commit is contained in:
parent
e6675bd8b2
commit
fab8cee13d
5 changed files with 16 additions and 17 deletions
|
|
@ -192,7 +192,7 @@ when false:
|
|||
if path[path.len-1] == '/' or existsDir(path):
|
||||
path = path / "index.html"
|
||||
|
||||
if not ExistsFile(path):
|
||||
if not existsFile(path):
|
||||
discardHeaders(client)
|
||||
notFound(client)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue