Skip to content

Commit

Permalink
accidental deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
haleychaas committed Feb 27, 2025
1 parent 90c8fd2 commit be301ca
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,16 @@ const config = {
to: `/guides/ai-apps`,
from: `/guides/assistants`
}
]
],
createRedirects(existingPath) {
if (existingPath.includes('/guides')) {
// Redirect from /guides/ja/X to /guides/X
return [
existingPath.replace('/guides', '/guides/ja'),
];
}
return undefined; // Return a falsy value: no redirect created
}
}
]
],
Expand Down

0 comments on commit be301ca

Please sign in to comment.