Skip to content

Commit ccbba0f

Browse files
committed
apply aviv"s suggestions - manually added as the redirect also needed a locale AFAIK
1 parent 16f5992 commit ccbba0f

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

apps/site/components/EOL/VulnerabilityChips/Chip/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import type { FC } from 'react';
44

55
import styles from './index.module.css';
66

7-
export const SEVERITY_ORDER = ['critical', 'high', 'medium', 'low'] as const;
8-
97
const SEVERITY_KIND_MAP = {
108
unknown: 'neutral',
119
low: 'default',

apps/site/pages/en/eol.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ Major versions of Node.js are released, patched, and designated End-Of-Life on a
1717
<span>Upgrade to the latest LTS Node.js®</span>
1818
</Button>
1919
<span>or</span>
20-
<Button
21-
kind="warning"
22-
href="https://nodejs.org/esp/herodevs"
23-
className="flex-1"
24-
>
20+
<Button kind="warning" href="/esp/herodevs" className="flex-1">
2521
<span>Get security support for EOL versions</span>
2622
</Button>
2723
</div>

apps/site/redirects.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
"destination": "https://discord.gg/vUsrbjd"
342342
},
343343
{
344-
"source": "/esp/herodevs",
344+
"source": "/:locale/esp/herodevs",
345345
"destination": "https://www.herodevs.com/support/node-nes?utm_source=NodeJS+&utm_medium=Link&utm_campaign=Nodejs_eol_support"
346346
}
347347
],

0 commit comments

Comments
 (0)