Skip to content

Commit 8d9758e

Browse files
committed
Remove trailing slashes for homepage
1 parent 43328d1 commit 8d9758e

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

packages/homepage/gatsby-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ module.exports = {
7070
},
7171
`gatsby-plugin-styled-components`,
7272
`gatsby-plugin-react-helmet`,
73+
`gatsby-plugin-remove-trailing-slashes`,
7374
`gatsby-plugin-sitemap`,
7475
{
7576
resolve: `gatsby-plugin-google-tagmanager`,

packages/homepage/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
},
6060
"devDependencies": {
6161
"extract-text-webpack-plugin": "1.0.1",
62+
"gatsby-plugin-remove-trailing-slashes": "^2.0.6",
6263
"prettier": "^1.8.2",
6364
"rimraf": "^2.6.2",
6465
"terser": "^3.10.13",

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,13 +2142,6 @@
21422142
dependencies:
21432143
"@types/react" "*"
21442144

2145-
"@types/react-dom@^16.0.11":
2146-
version "16.0.11"
2147-
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.0.11.tgz#bd10ccb0d9260343f4b9a49d4f7a8330a5c1f081"
2148-
integrity sha512-x6zUx9/42B5Kl2Vl9HlopV8JF64wLpX3c+Pst9kc1HgzrsH+mkehe/zmHMQTplIrR48H2gpU7ZqurQolYu8XBA==
2149-
dependencies:
2150-
"@types/react" "*"
2151-
21522145
"@types/react@*":
21532146
version "16.3.16"
21542147
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.3.16.tgz#78fc44a90b45701f50c8a7008f733680ba51fc86"
@@ -9547,6 +9540,13 @@ gatsby-plugin-react-helmet@^3.0.3:
95479540
dependencies:
95489541
"@babel/runtime" "^7.0.0"
95499542

9543+
gatsby-plugin-remove-trailing-slashes@^2.0.6:
9544+
version "2.0.6"
9545+
resolved "https://registry.yarnpkg.com/gatsby-plugin-remove-trailing-slashes/-/gatsby-plugin-remove-trailing-slashes-2.0.6.tgz#fd73291fc89aaecae97834269728d84699872867"
9546+
integrity sha512-q+bE/iPAD6uA8otMmIatKTs9xuH4Zu/LUX58h3z9duwNMVtjtPVi3q/HHL5kH4DLGdEUJBavfNIcZUE0ehM96w==
9547+
dependencies:
9548+
"@babel/runtime" "^7.0.0"
9549+
95509550
gatsby-plugin-sharp@^1.6.47:
95519551
version "1.6.48"
95529552
resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-1.6.48.tgz#9bb7515da9c7753b3065c51b2d35a0de5b9aa1f5"

0 commit comments

Comments
 (0)