Skip to content

Commit

Permalink
Use redirectInBrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
brianclemens committed May 8, 2024
1 parent 1942f81 commit ba8f490
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,13 @@ module.exports = {
},
},
`gatsby-plugin-postcss`,
{
resolve: `@devular/gatsby-plugin-plausible`,
options: {
domain: `warewulf.org`,
proxyScript: `https://img.resf.workers.dev/js/script.outbound-links.js`,
proxyApi: `https://img.resf.workers.dev/img/event`,
},
},
],
}
2 changes: 2 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ exports.createPages = async ({ graphql, actions }) => {
createRedirect({
fromPath: `/docs/development/*`,
toPath: `/docs/main/*`,
force: true,
redirectInBrowser: true,
})
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "Kostas Vrouvas <[email protected]>",
"dependencies": {
"@tailwindcss/typography": "^0.5.13",
"@devular/gatsby-plugin-plausible": "^0.1.8",
"autoprefixer": "^10.4.19",
"gatsby": "^5.13.4",
"gatsby-cli": "^5.13.3",
Expand Down

0 comments on commit ba8f490

Please sign in to comment.