messing stuff up

This commit is contained in:
2025-06-03 20:46:11 -05:00
parent e3ee3e6708
commit e8acd6bb20
25 changed files with 300 additions and 51 deletions

View File

@ -7,13 +7,6 @@ bp = Blueprint('core_ui', __name__, template_folder='templates')
def home():
return render_template('core_ui/home.html')
@bp.route('/admin')
@login_required
def admin_dashboard():
if current_user.role != 'admin':
return "Access denied", 403
return render_template('core_ui/admin_dashboard.html')
@bp.route('/health')
def health():
return 'OK', 200