Skip to content

Commit

Permalink
Merge pull request #713 from nextstrain/monkeypox-redirect
Browse files Browse the repository at this point in the history
Redirect `/monkeypox` to `/mpox`
  • Loading branch information
corneliusroemer authored Sep 25, 2023
2 parents 2e806a5 + b4ab052 commit 5dbdea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const setup = (app) => {
* recommendations. Note that monkeypox YYYY-MM-DD URLs remain,
* e.g. /monkeypox/hmpxv1/2022-09-04
*/
app.route('/monkeypox').get((req, res) => res.redirect('/mpox'));
app.route('/monkeypox/mpxv').get((req, res) => res.redirect('/mpox/all-clades'));
app.route('/monkeypox/hmpxv1').get((req, res) => res.redirect('/mpox/clade-IIb'));
app.route('/monkeypox/hmpxv1/big').get((req, res) => res.redirect('/mpox/lineage-B.1'));
Expand Down

0 comments on commit 5dbdea2

Please sign in to comment.