diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index ad36da5..315c951 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -449,7 +449,7 @@ export default defineConfig({ transformPageData(pageData) { const canonicalUrl = `${ogUrl}/${pageData.relativePath}` .replace(/\/index\.md$/, '/') - .replace(/\.md$/, '/') + .replace(/\.md$/, '') pageData.frontmatter.head ??= [] pageData.frontmatter.head.unshift( ['link', { rel: 'canonical', href: canonicalUrl }], diff --git a/docs/guide/ssr.md b/docs/guide/ssr.md index f75858e..a557833 100644 --- a/docs/guide/ssr.md +++ b/docs/guide/ssr.md @@ -1,4 +1,4 @@ -# Server-Side Rendering +# Server-Side Rendering (SSR) :::tip Note SSR specifically refers to front-end frameworks (for example React, Preact, Vue, and Svelte) that support running the same application in Node.js, pre-rendering it to HTML, and finally hydrating it on the client. If you are looking for integration with traditional server-side frameworks, check out the [Backend Integration guide](./backend-integration) instead.