Skip to content

Commit 9c1afdc

Browse files
authored
Update rspress.config.ts (#514)
* Update rspress.config.ts Signed-off-by: Leron Liu <[email protected]> * Update netlify.toml Signed-off-by: Leron Liu <[email protected]> --------- Signed-off-by: Leron Liu <[email protected]>
1 parent d445dd6 commit 9c1afdc

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

netlify.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@
33
[headers.values]
44
access-control-allow-origin = "https://www.unpkg.com"
55

6-
[[redirects]]
7-
from = "/next/*"
8-
to = "https://main--lynx-doc.netlify.app/:splat"
9-
status = 200
10-
11-
[[redirects]]
12-
from = "/3.5/*"
13-
to = "https://release-3-5--lynx-doc.netlify.app/:splat"
14-
status = 200
15-
166
[[redirects]]
177
from = "/3.4/*"
188
to = "/:splat"
19-
status = 302
9+
status = 302

rspress.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export default defineConfig({
9393
'https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/lynx-website/assets/lynx-dark-logo.svg',
9494
dark: 'https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/lynx-website/assets/lynx-light-logo.svg',
9595
},
96+
base: '/3.4',
9697
themeConfig: {
9798
locales: [
9899
{

0 commit comments

Comments
 (0)