Skip to content

Commit

Permalink
Add mpox as the default monkeypox URL prefix
Browse files Browse the repository at this point in the history
The original /monkeypox/* URLs are left unchanged however we can remove
these and add redirects instead if we wish to. Card names are updated
to 'mpox' as per WHO recommendations
<https://www.who.int/news/item/28-11-2022-who-recommends-new-name-for-monkeypox-disease>

Context (slack): <https://bedfordlab.slack.com/archives/C03G8HQEV18/p1695508115055009>
  • Loading branch information
jameshadfield committed Sep 25, 2023
1 parent bf58f1a commit c6ee0c0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
8 changes: 8 additions & 0 deletions data/manifest_core.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,14 @@
"default": "hmpxv1"
}
},
"mpox": {
"resolution": {
"all-clades": "",
"clade-IIb": "",
"lineage-B.1": "",
"default": "clade-IIb"
}
},
"mumps": {
"resolution": {
"na": "",
Expand Down
1 change: 1 addition & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ const coreBuildPaths = [
"/mers",
"/mumps",
"/monkeypox",
"/mpox", // Prior to Sept 2023 we used /monkeypox/
"/ncov",
"/nextclade",
"/rsv",
Expand Down
4 changes: 2 additions & 2 deletions static-site/src/components/Cards/coreCards.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const coreCards = [
{
img: "monkeypox.png",
url: "/monkeypox",
title: "Monkeypox"
url: "/mpox",
title: "Mpox"
},
{
img: "seasonalinfluenza.png",
Expand Down
4 changes: 2 additions & 2 deletions static-site/src/components/Cards/pathogenCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const pathogenCards = [
},
{
img: "monkeypox.png",
url: "/monkeypox",
title: "Monkeypox"
url: "/mpox",
title: "Mpox"
},
{
img: "mumps.jpg",
Expand Down

0 comments on commit c6ee0c0

Please sign in to comment.