general03 / flask-autoindex

Generates index page like mod_autoindex
https://flask-autoindex.readthedocs.io
MIT License
114 stars 34 forks source link

Default browse_root to curdir. #27

Closed kousu closed 8 years ago

kousu commented 8 years ago

The examples all show setting browse_root to something explicitly, and I discovered by trial and error that in fact there is no default---the server comes up, but gives 500s. My unix intuition assumed that it would working in the working directory unless told otherwise---that's how other small webservers, like thttpd and webfsd and http/server.py work, afterall.

What do you think?