Skip to content

Commit

Permalink
Add redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Sep 7, 2024
1 parent f28f6d4 commit bef644d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/docs/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ const setForeground = (theme: ExpressiveCodeTheme, scope: string, value: string)
export default defineConfig({
site: 'https://knip.dev',
base: '/',
// @ts-expect-error TODO
// @ts-expect-error
sitemap: false,
trailingSlash: 'never',
redirects: {
'/guides/commonjs': '/guides/working-with-commonjs',
},
markdown: {
remarkPlugins: [fixInternalLinks, transformDirectives, remarkDirective],
},
Expand Down

0 comments on commit bef644d

Please sign in to comment.