Skip to content

Commit

Permalink
Merge pull request #255 from CivicActions/MAHOME-1147-create-redirect…
Browse files Browse the repository at this point in the history
…-for-press-item

MAHOME-1147: Add Redirect for Press Release
  • Loading branch information
grugnog authored Jan 17, 2024
2 parents 28165b0 + ccb5bd5 commit 2af3a29
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 @@ -183,6 +183,12 @@ exports.createPages = async ({ graphql, actions }) => {
isPermanent: true,
redirectInBrowser: true,
})
createRedirect({
fromPath: "/press/2024-01-16-CivicActions-Announces-Impact-Report/reports.civicactions.com/impact",
toPath: "/press/2024-01-16-CivicActions-Announces-Impact-Report",
isPermanent: true,
redirectInBrowser: true,
})

const caseStudies = result.data.caseStudies.edges;
const CaseStudyTemplate = require.resolve('./src/templates/case-study.js');
Expand Down

0 comments on commit 2af3a29

Please sign in to comment.