Skip to content

Commit

Permalink
feat: 🎸 compatible old route
Browse files Browse the repository at this point in the history
  • Loading branch information
heimanba committed Jan 15, 2024
1 parent eb1e8a5 commit 649a746
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 63 deletions.
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export default defineConfig({
]
},
redirects: {
'/zh-cn/[...slug].html': '/[...slug]',
'/[...slug].html': '/[...slug]',
'/zh-cn/[...slug]': '/[...slug]',
}
Expand Down
Loading

0 comments on commit 649a746

Please sign in to comment.