Skip to content

Commit 95da2ec

Browse files
authored
fix: changing beta.tauri.app to v2.tauri.app (tauri-apps#2084)
1 parent 369f5a5 commit 95da2ec

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docusaurus.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const navbarItems = [
5757

5858
{
5959
label: 'Blog',
60-
href: 'https://beta.tauri.app/blog',
60+
href: 'https://v2.tauri.app/blog',
6161
position: 'left',
6262
},
6363
{
@@ -131,7 +131,7 @@ const navbarItems = [
131131
className: 'navbarIcon versionIcon',
132132
dropdownItemsAfter: [
133133
{
134-
href: 'https://beta.tauri.app/',
134+
href: 'https://v2.tauri.app/',
135135
label: 'v2 (Beta)',
136136
target: '_self',
137137
},
@@ -187,7 +187,7 @@ const footerLinks = [
187187
items: [
188188
{
189189
label: 'Blog',
190-
href: 'https://beta.tauri.app/blog',
190+
href: 'https://v2.tauri.app/blog',
191191
},
192192
{
193193
label: 'OpenCollective',
@@ -250,7 +250,7 @@ async function siteConfig() {
250250
},
251251
announcementBar: {
252252
content:
253-
"<b>🚀 The <a id='announcement-link' href='https://beta.tauri.app/blog/tauri-2-0-0-beta/'>Beta for Tauri 2.0</a> has launched!</b>",
253+
"<b>🚀 The <a id='announcement-link' href='https://v2.tauri.app/blog/tauri-2-0-0-beta/'>Beta for Tauri 2.0</a> has launched!</b>",
254254
backgroundColor: 'var(--ifm-color-primary)',
255255
textColor: 'var(--ifm-button-color)',
256256
},

netlify.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ to = "/zh-cn/:splat"
117117

118118
[[redirects]]
119119
from = "/2/*"
120-
to = "https://beta.tauri.app/2/:splat"
120+
to = "https://v2.tauri.app/2/:splat"
121121

122122
[[redirects]]
123123
from = "/blog/*"
124-
to = "https://beta.tauri.app/blog/:splat"
124+
to = "https://v2.tauri.app/blog/:splat"

0 commit comments

Comments
 (0)