A mod_autoindex for Flask
- Flask
- Python >= 3.6
pip install Flask-AutoIndex
import os.path
from flask import Flask
from flask_autoindex import AutoIndex
app = Flask(__name__)
AutoIndex(app, browse_root=os.path.curdir)
if __name__ == '__main__':
app.run()
flask run
python setup.py test