Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
Signed-off-by: Max Wolfs <[email protected]>
  • Loading branch information
maxwolfs committed Aug 31, 2023
1 parent 853b19a commit 3ef6753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ const config = {
fromExtensions: ["html", "htm"], // /myPage.html -> /myPage
toExtensions: ["exe", "zip"], // /myAsset -> /myAsset.zip (if latter exists)
createRedirects(existingPath) {
if (existingPath.includes("/community/community")) {
return [existingPath.replace("/community/community", "/community")];
if (existingPath.includes("/community")) {
return [existingPath.replace("/community", "/community/community")];
}
return undefined; // Return a falsy value: no redirect created
},
Expand Down

0 comments on commit 3ef6753

Please sign in to comment.