tiny-web-server icon indicating copy to clipboard operation
tiny-web-server copied to clipboard

Pointing to a directory doesn't automatically show index.html

Open adnan360 opened this issue 5 years ago • 0 comments

One thing I noticed is that when I go to a dir, even when there is an index.html file it does not go to it automatically. It instead shows the list of file and directories there. I have to click on index.html. Is there an option or something that I'm missing?

I'm running it with:

./tiny www

Even if I have a index.html inside www dir, it doesn't show automatically.

btw... found this wonderful project when preparing a lightweight docker image for simple static content http server. I found it's excellent for my need (~23kb in size). Thanks a lot for the project.

adnan360 avatar Apr 16 '20 11:04 adnan360