Skip to content

Commit

Permalink
added redirect rule for /developer-portal to resolve to /build
Browse files Browse the repository at this point in the history
  • Loading branch information
gabros20 authored and liamsi committed Jan 14, 2024
1 parent 6c82577 commit 1140945
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@ exports.createPages = async ({ graphql, actions }) => {
toPath: `/build#deploy`,
isPermanent: true,
});

createRedirect({
fromPath: `/developer-portal`,
toPath: `/build`,
isPermanent: true,
});
};

0 comments on commit 1140945

Please sign in to comment.