fix: restore legacy /projects/projects endpoint for older CLI versions · basicmachines-co/basic-memory@a0e754b · GitHub
Skip to content

Commit a0e754b

Browse files
phernandezclaude
andcommitted
fix: restore legacy /projects/projects endpoint for older CLI versions
Older versions of basic-memory CLI (v0.17.4 and earlier) call GET /projects/projects to list projects. This endpoint was removed when we migrated to v2 routers. Add explicit route at /projects/projects (without trailing slash) to avoid 307 redirects that the cloud proxy doesn't follow. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 24ca5f6 commit a0e754b

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

src/basic_memory/api/app.py

Lines changed: 8 additions & 0 deletions

tests/api/v2/test_project_router.py

Lines changed: 26 additions & 0 deletions

0 commit comments

Comments
 (0)