In actix-web, separate web::scope() trees don't merge. The /projects
scope was intercepting /api/projects/{name}/skills before the separate
skill scope could match, causing 404 on all skill endpoints.
Move skill routes into init_project_routes as /{project_name}/skills/*
and remove the standalone configure(skill::init_skill_routes) call.
|
||
|---|---|---|
| .. | ||
| agent | ||
| agent-tool-derive | ||
| api | ||
| avatar | ||
| config | ||
| db | ||
| fctool | ||
| frontend | ||
| git | ||
| migrate | ||
| models | ||
| observability | ||
| queue | ||
| room | ||
| rpc | ||
| service | ||
| session | ||
| session_manager | ||
| transport | ||
| webhook | ||