summaryrefslogtreecommitdiff
path: root/app.py
blob: 75f22116c7c0fae04dd458965752ee0d619c873d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from flask import Flask, abort

from api import bp as api_blueprint

app = Flask(__name__)


@app.route('/')
def index():
    abort(404)


app.register_blueprint(api_blueprint, url_prefix='/api')

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