From 61f2126c1b9ee692b7377c71bc390f7b096c8926 Mon Sep 17 00:00:00 2001 From: Jan Novak Date: Wed, 11 Mar 2026 13:13:05 +0100 Subject: [PATCH] feat: Change default redirect to Adults dashboard Co-authored-by: Antigravity --- app.py | 4 ++-- tests/test_app.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index 9f3652f..18541ad 100644 --- a/app.py +++ b/app.py @@ -105,8 +105,8 @@ def inject_render_time(): @app.route("/") def index(): - # Redirect root to /fees for convenience while there are no other apps - return '' + # Redirect root to /adults for convenience while there are no other apps + return '' @app.route("/fees") def fees(): diff --git a/tests/test_app.py b/tests/test_app.py index 2d5ac23..306da1a 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -17,7 +17,7 @@ class TestWebApp(unittest.TestCase): """Test that / returns the refresh meta tag""" response = self.client.get('/') self.assertEqual(response.status_code, 200) - self.assertIn(b'url=/fees', response.data) + self.assertIn(b'url=/adults', response.data) @patch('app.get_cached_data', side_effect=_bypass_cache) @patch('app.get_members_with_fees')