forked from 3wordchant/capsul-flask
Fix botched merge
This commit is contained in:
parent
82c0c63ff4
commit
bef379273f
@ -188,17 +188,17 @@ def create_app():
|
|||||||
auth, landing, console, payment, metrics, cli, hub_api, publicapi, admin
|
auth, landing, console, payment, metrics, cli, hub_api, publicapi, admin
|
||||||
)
|
)
|
||||||
|
|
||||||
app.register_blueprint(landing.bp)
|
app.register_blueprint(auth.bp)
|
||||||
app.register_blueprint(auth.bp)
|
app.register_blueprint(landing.bp)
|
||||||
app.register_blueprint(console.bp)
|
app.register_blueprint(console.bp)
|
||||||
app.register_blueprint(payment.bp)
|
app.register_blueprint(payment.bp)
|
||||||
app.register_blueprint(metrics.bp)
|
app.register_blueprint(metrics.bp)
|
||||||
app.register_blueprint(cli.bp)
|
app.register_blueprint(cli.bp)
|
||||||
app.register_blueprint(hub_api.bp)
|
app.register_blueprint(hub_api.bp)
|
||||||
app.register_blueprint(admin.bp)
|
app.register_blueprint(admin.bp)
|
||||||
app.register_blueprint(publicapi.bp)
|
app.register_blueprint(publicapi.bp)
|
||||||
|
|
||||||
app.add_url_rule("/", endpoint="index")
|
app.add_url_rule("/", endpoint="index")
|
||||||
|
|
||||||
if app.config['SPOKE_MODE_ENABLED']:
|
if app.config['SPOKE_MODE_ENABLED']:
|
||||||
if app.config['SPOKE_MODEL'] == "shell-scripts":
|
if app.config['SPOKE_MODEL'] == "shell-scripts":
|
||||||
@ -254,4 +254,3 @@ def create_app():
|
|||||||
return url_for(endpoint, **values)
|
return url_for(endpoint, **values)
|
||||||
|
|
||||||
return app
|
return app
|
||||||
>>>>>>> tests
|
|
||||||
|
Loading…
Reference in New Issue
Block a user