a ton of fun happened, refactored alot
This commit is contained in:
15
app/routes.py
Normal file
15
app/routes.py
Normal file
@ -0,0 +1,15 @@
|
||||
from flask import render_template
|
||||
|
||||
def init_app(app):
|
||||
"""
|
||||
Register core application routes directly on the Flask app:
|
||||
- GET / → home page
|
||||
- GET /health → health check
|
||||
"""
|
||||
@app.route('/')
|
||||
def home():
|
||||
return render_template('core/home.html')
|
||||
|
||||
@app.route('/health')
|
||||
def health():
|
||||
return 'OK', 200
|
Reference in New Issue
Block a user