Skip to content

Commit 95cd6f8

Browse files
authored
fix(redirects): add /community-news redirect to /news/community-news (#515)
Adds redirect for legacy newsletter links pointing to /community-news to properly route to /news/community-news page. Fixes #[514]
1 parent 41fdcbc commit 95cd6f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/redirects.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import type { RouteObject } from 'react-router-dom';
44
export const redirectMap: Record<string, string> = {
55
'/go/Sugar_Labs/Donate': '/donate',
66
'/booting-soas': '/bootablesoas',
7+
'/community-news': '/news/community-news',
78

89
// Example redirects:
910
// '/old-path-1': '/new-path-1',

0 commit comments

Comments
 (0)