Revert "is path isDirectory, serve directory/index.html"

This reverts commit 3ddf0963385d255674c9cde9a53c6ed6c6f1ea28.
Revert "if path isDirectory, serve path/index.html"

This reverts commit cceebef3f9c04d200659dc3628fcf2990a757792.
if path isDirectory, serve path/index.html