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 | ||
| auth | ||
| git | ||
| issue | ||
| project | ||
| pull_request | ||
| room | ||
| search | ||
| user | ||
| workspace | ||
| build.rs | ||
| Cargo.toml | ||
| dist.rs | ||
| error.rs | ||
| gen_api.rs | ||
| lib.rs | ||
| openapi.rs | ||
| robots.rs | ||
| route.rs | ||
| sidemap.rs | ||
| skill.rs | ||