We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba5a9c commit 98509d6Copy full SHA for 98509d6
gatsby-browser.js
@@ -10,6 +10,16 @@ function checkRedirect(inPath) {
10
window.location.replace(`https://postgraphile.org${parts.join("/")}`);
11
}
12
13
+ if (path === "/graphile-build" || path.startsWith("/graphile-build/")) {
14
+ const parts = path.split("/");
15
+ if (!parts[2]) {
16
+ window.location.replace(`https://build.graphile.org`);
17
+ } else {
18
+ if (parts[2] === "introduction") parts.length = 2;
19
+ parts.splice(2, 0, "4");
20
+ window.location.replace(`https://build.graphile.org${parts.join("/")}`);
21
+ }
22
23
24
25
exports.onRouteUpdate = ({ location, prevLocation }) => {
0 commit comments