fix: matter-search routes 404 on a non-UUID project id

↗ view on GitHub · Ethan Ward · 2026-08-18 · 3823eeb9

The new /projects/:projectId/search and /search/answer routes matched
legacy paths like /projects/directory/search, since ":projectId" captured
"directory". A projectId that is not a UUID is never a real project, so both
routes now return 404 for one, which also restores the assertion that the old
project-directory search route is gone.
Repository wardethan2000-eng/mike
Author Ethan Ward <ethanward321@hotmail.com>
Authored
Parents dfa8adb7
Stats 1 file changed , +6
Part of Matter-wide document search and grounded answers

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-3823eeb9.md from inside the repo you want the change in.

⬇ Download capture-commit-3823eeb9.md