mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 03:09:58 +00:00
Add function dashboard added
This commit is contained in:
4
app.py
4
app.py
@@ -2,7 +2,7 @@ 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
|
||||
from flask import redirect, url_for
|
||||
from flask import redirect, url_for, render_template
|
||||
|
||||
app.register_blueprint(api_blueprint, url_prefix="/api")
|
||||
app.register_blueprint(auth_blueprint, url_prefix="/auth")
|
||||
@@ -16,4 +16,4 @@ def home():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="192.168.137.1", port=2222, debug=True)
|
||||
app.run(host="localhost", port=2222, debug=True)
|
||||
|
||||
Reference in New Issue
Block a user