Spaces:
Runtime error
Runtime error
Update app/__init__.py
Browse files- app/__init__.py +10 -0
app/__init__.py
CHANGED
|
@@ -12,3 +12,13 @@ def create_app():
|
|
| 12 |
app.register_blueprint(auth)
|
| 13 |
|
| 14 |
return app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
app.register_blueprint(auth)
|
| 13 |
|
| 14 |
return app
|
| 15 |
+
|
| 16 |
+
from .landing_routes import landing # <--- Import your landing blueprint
|
| 17 |
+
|
| 18 |
+
def create_app():
|
| 19 |
+
app = Flask(__name__)
|
| 20 |
+
|
| 21 |
+
app.register_blueprint(auth)
|
| 22 |
+
app.register_blueprint(landing) # <--- Register it here
|
| 23 |
+
|
| 24 |
+
return app
|