fix: Add /api prefix to focus_areas router
Deploy Development / deploy (push) Successful in 47s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s

- Changed prefix from '/focus-areas' to '/api/focus-areas'
- Consistent with all other routers (goals, prompts, etc.)
- Fixes 404 Not Found on /admin/focus-areas page
This commit is contained in:
Lars committed 2026-03-27 20:00:41 +01:00
1 parent 6ab0a8b631
commit 34ea51b8bd
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ from typing import Optional, List
from db import get_db, get_cursor, r2d
from auth import require_auth
router = APIRouter(prefix="/focus-areas", tags=["focus-areas"])
router = APIRouter(prefix="/api/focus-areas", tags=["focus-areas"])
# ============================================================================
# Models