Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,9 +10,6 @@ from email.mime.text import MIMEText
|
|
| 10 |
from menu import menu_blueprint # Make sure this import is correct
|
| 11 |
from cart import cart_blueprint # Same for other blueprints
|
| 12 |
from order import order_blueprint # Same for user blueprint
|
| 13 |
-
app.register_blueprint(menu_blueprint)
|
| 14 |
-
app.register_blueprint(cart_blueprint)
|
| 15 |
-
app.register_blueprint(order_blueprint)
|
| 16 |
|
| 17 |
|
| 18 |
# Initialize Flask app and Salesforce connection
|
|
@@ -497,6 +494,10 @@ def login():
|
|
| 497 |
|
| 498 |
return render_template("login.html")
|
| 499 |
# Register Blueprints for each functionality
|
|
|
|
|
|
|
|
|
|
|
|
|
| 500 |
|
| 501 |
if __name__ == "__main__":
|
| 502 |
app.run(debug=True, host="0.0.0.0", port=7860)
|
|
|
|
| 10 |
from menu import menu_blueprint # Make sure this import is correct
|
| 11 |
from cart import cart_blueprint # Same for other blueprints
|
| 12 |
from order import order_blueprint # Same for user blueprint
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
# Initialize Flask app and Salesforce connection
|
|
|
|
| 494 |
|
| 495 |
return render_template("login.html")
|
| 496 |
# Register Blueprints for each functionality
|
| 497 |
+
app.register_blueprint(menu_blueprint)
|
| 498 |
+
app.register_blueprint(cart_blueprint)
|
| 499 |
+
app.register_blueprint(order_blueprint)
|
| 500 |
+
|
| 501 |
|
| 502 |
if __name__ == "__main__":
|
| 503 |
app.run(debug=True, host="0.0.0.0", port=7860)
|