Skip to content

Commit

Permalink
Merge pull request #345 from Shinsina/correct-graduate-scholars-redirect
Browse files Browse the repository at this point in the history
Adjust redirect to 2024 page over 2022 for Graduate Scholars
  • Loading branch information
jwade1327 authored Jun 20, 2024
2 parents b35e1a4 + 23902d5 commit 909d5d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const graduateScholars = require('../../templates/website-section/awards-honors/
module.exports = (app) => {
app.get('/:alias(awards-honors/graduate-scholars)', newsletterState(), asyncRoute(async (req, res) => {
const { alias } = req.params;
res.redirect(301, `/${cleanPath(alias)}/2022`);
res.redirect(301, `/${cleanPath(alias)}/2024`);
}));

app.get('/:alias(awards-honors/graduate-scholars/\\d{4})', newsletterState(), withWebsiteSection({
Expand Down

0 comments on commit 909d5d8

Please sign in to comment.