diff --git a/app.py b/app.py index 7b12653..8000bbc 100644 --- a/app.py +++ b/app.py @@ -72,6 +72,8 @@ ROUTES = ( ("PUT", r"^/api/prices/(?P\d{4}-\d{2}-\d{2})$", "prices_put"), ("GET", r"^/api/settings$", "settings_get"), ("PATCH", r"^/api/settings$", "settings_patch"), + ("GET", r"^/api/report$", "report_get"), + ("GET", r"^/api/report/export\.csv$", "report_export"), ) # Routes that answer without a session. The rest need one, and every mutating