__init__.py 242 Bytes
Newer Older
1
from flask import Flask
2

3 4
from zoe_web.api import api_bp
from zoe_web.web import web_bp
5

6 7 8
app = Flask(__name__, static_url_path='/does-not-exist')
app.register_blueprint(web_bp, url_prefix='')
app.register_blueprint(api_bp, url_prefix='/api')
9