Skip to content

Commit

Permalink
#2021 Add redirect from the old link
Browse files Browse the repository at this point in the history
  • Loading branch information
RatreeOchn committed Jun 21, 2024
1 parent ad122a8 commit 7e81572
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ router.get(['/project/:projectUrl', '/project/:projectUrl/dashboard'], function(
res.redirect(`/p/${req.params.projectUrl}`);
});

router.get(['/project/:projectUrl/audiodata/uploads'], function(req, res) {
res.redirect(`/p/${req.params.projectUrl}/import-recordings`);
});

router.get('/projects/:externalId', async (req, res) => {
try {
const project = await model.projects.find({external_id: req.params.externalId}).get(0);
Expand Down

0 comments on commit 7e81572

Please sign in to comment.