forked from nodejs/nodejs.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredirects.js
More file actions
17 lines (17 loc) · 726 Bytes
/
redirects.js
File metadata and controls
17 lines (17 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This file is used to define all the changed slugs from original nodejs.org site to our new site.
// Note.: Gatsby requires trailing slashes on the path names
module.exports = {
// Redirects Node.js Get Involved to Community
'/get-involved/': '/community/',
// Redirects old About pages path to the new ones
'/governance/': '/about/governance/',
'/working-groups/': '/about/working-groups/',
'/releases/': '/about/releases/',
'/privacy/': '/about/privacy/',
'/security/': '/about/security/',
// Outside Redirects
'/trademark/': 'https://trademark-policy.openjsf.org/',
'/about/trademark/': 'https://trademark-policy.openjsf.org/',
// Redirects the Old `/docs` path to `/api`
'/docs/*': '/api/',
};