fix(routes): make the repository details route also match with trailing slash
+ 7
- 0
@@ -360,6 +360,13 @@ const RootAppRouter: AppRouter = () => {
           schema={AppRoutesSchemas[AppRoute.REPOSITORY_DETAILS]}
           handler={RepositoryController.getRepositoryDetailsView}
         />
+        <Router.Route
+          name={AppRoute.REPOSITORY_DETAILS}
+          method={"GET"}
+          path={"/:orgSlug/:repoSlug/"}
+          schema={AppRoutesSchemas[AppRoute.REPOSITORY_DETAILS]}
+          handler={RepositoryController.getRepositoryDetailsView}
+        />
         <Router.Route
           name={AppRoute.REPOSITORY_BROWSER}
           method={"GET"}