Skip to content

Commit e2f0318

Browse files
authored
Add client redirects for HTTP fetch documentation
1 parent 21817ca commit e2f0318

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

docusaurus.config.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,21 @@ const config: Config = {
165165
],
166166
"./plugins/copyDocsRaw.ts",
167167
"./plugins/fixPrism.ts",
168+
],
169+
[
170+
"@docusaurus/plugin-client-redirects",
171+
{
172+
redirects: [
173+
{
174+
from: [
175+
"/docs/capabilities/server/http-fetch",
176+
"/docs/capabilities/server/http-fetch-policy",
177+
],
178+
to: "/docs/capabilities/http-fetch",
179+
},
180+
],
181+
},
182+
],
168183
],
169184
themeConfig: {
170185
docs: {

0 commit comments

Comments
 (0)