File: run.py

package info (click to toggle)
flask-autoindex 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 296 kB
  • sloc: python: 756; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 158 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
import os.path
from flask import Flask
from flask_autoindex import AutoIndex


app = Flask(__name__)
AutoIndex(app)

if __name__ == '__main__':
    app.run()