Skip to content

Commit 9266f8a

Browse files
authored
chore: setup redirects for blog (#1163)
* chore: setup redirects for blog * chore: redirect /blog/index too * chore: back out of wildcard redirect * chore: change link in button
1 parent dc44fd3 commit 9266f8a

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

website/src/latest/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"text": "Blog",
14-
"link": "/blog/index",
14+
"link": "https://www.callstack.com/insights/super-apps-with-react-native",
1515
"activeMatch": "^/blog/"
1616
},
1717
{

website/vercel.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
"framework": null,
66
"installCommand": "pnpm install",
77
"rewrites": [{ "source": "/(.*)", "destination": "/404.html" }],
8+
"redirects": [
9+
{
10+
"source": "/blog/repack-5-release",
11+
"destination": "https://www.callstack.com/blog/announcing-re-pack-5-with-rspack-module-federation",
12+
"statusCode": 301
13+
},
14+
{
15+
"source": "/blog",
16+
"destination": "https://www.callstack.com/insights/super-apps-with-react-native",
17+
"statusCode": 301
18+
}
19+
],
820
"outputDirectory": "build",
921
"trailingSlash": false
1022
}

0 commit comments

Comments
 (0)