diff --git a/packages/canyon-platform/src/App.tsx b/packages/canyon-platform/src/App.tsx index 19b9ed3a..7247f890 100644 --- a/packages/canyon-platform/src/App.tsx +++ b/packages/canyon-platform/src/App.tsx @@ -4,6 +4,12 @@ import zhCN from "antd/es/locale/zh_CN"; import { useRoutes } from "react-router-dom"; import routes from "~react-pages"; +import Sha from "@/pages/index/projects/[id]/commits/[sha].tsx"; + +routes.push({ + element: , + path: "/open-projects/:id/commits/:sha", +}); const languages = { cn: zhCN,