main.py 261 B

1234567891011
  1. from flask import Flask
  2. from app import api, views
  3. app = Flask(__name__, template_folder="app/templates")
  4. app.register_blueprint(views.bp)
  5. app.register_blueprint(api.bp, url_prefix="/api")
  6. if __name__ == "__main__":
  7. app.run(host="0.0.0.0", port="8097")