Skip to content

Commit

Permalink
Turn force: true on for legacyRedirects
Browse files Browse the repository at this point in the history
  • Loading branch information
epbarger committed Mar 2, 2021
1 parent 009a2a3 commit bcd7b4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/constants/gatsby-node-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ const configureLegacyRedirects = ({
toPath: toPath,
redirectInBrowser: false,
isPermanent: false,
force: true,
});

if (toLatestPath) {
Expand All @@ -301,6 +302,7 @@ const configureLegacyRedirects = ({
toPath: toLatestPath,
redirectInBrowser: false,
isPermanent: false,
force: true,
});
}
});
Expand Down

0 comments on commit bcd7b4d

Please sign in to comment.