File: run.py

package info (click to toggle)
flask-autoindex 0.6.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 292 kB
  • sloc: python: 755; makefile: 10
file content (10 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (2)
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()