mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 03:09:58 +00:00
Preparing repo for merge of frontend with backend
This commit is contained in:
6
app.py
6
app.py
@@ -1,7 +1,11 @@
|
||||
from application import app
|
||||
from application.api.views import api_blueprint
|
||||
from application.auth.views import auth_blueprint
|
||||
from application.dashboard.views import dash_blueprint
|
||||
|
||||
app.register_blueprint(api_blueprint)
|
||||
app.register_blueprint(api_blueprint, url_prefix="/api")
|
||||
app.register_blueprint(auth_blueprint, url_prefix="/auth")
|
||||
app.register_blueprint(dash_blueprint, url_prefix="/dash")
|
||||
|
||||
|
||||
# Default app route
|
||||
|
||||
Reference in New Issue
Block a user