gabriel / musehub public
fix BREAKING dev
AI Agent gabriel · 58 days ago · Apr 21, 2026 · Diff

fix: register /muse docs routes before /{owner}/{repo_slug} wildcard

Docs router was registered at line 517, after ui_repo_routes (line 509) which owns the /{owner}/{repo_slug} wildcard. Starlette matches in insertion order, so /muse/foundations was caught as owner=muse repo=foundations. Moved docs router to immediately after fixed_router (~line 490), well before any wildcard routes.

sha256:0f819545586a4760dd715a2be1a4044ce0de3062ab2abe317f1fdad3b4990792 sha
sha256:c575815b88db55613af2475d16eb26f9acab162c31a5316aa8ddf4d4570e52eb snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:0f819545586a4760dd715a2be1a4044ce0de3062ab2abe317f1fdad3b4990792 --body "your comment"