app.py 337 B

1234567891011121314151617
  1. #!/usr/bin/env python
  2. # -*- encoding: utf-8 -*-
  3. '''
  4. @Contact : liuyuqi.gov@msn.cn
  5. @Time : 2023/09/24 00:12:26
  6. @License : Copyright © 2017-2022 liuyuqi. All Rights Reserved.
  7. @Desc : enter point
  8. '''
  9. from flask import Flask
  10. app = Flask(__name__)
  11. @app.route("/")
  12. def index():
  13. return app.send_static_file("index.html")