main.py 190 B

123456
  1. from flask import Flask
  2. from app import views, api
  3. app = Flask(__name__, template_folder='app/templates')
  4. app.register_blueprint(views.bp)
  5. app.register_blueprint(api.bp, url_prefix='/api')