Skip to content

Commit 886b9a4

Browse files
authored
Merge pull request #256 from k6io/add-trailing-slash
Add trailing slash
2 parents 1632cb9 + fdacbae commit 886b9a4

File tree

14 files changed

+131
-138
lines changed

14 files changed

+131
-138
lines changed

gatsby-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const plugins = [
1515
'gatsby-transformer-sharp',
1616
'gatsby-plugin-sharp',
1717
'gatsby-plugin-catch-links',
18-
'gatsby-plugin-remove-trailing-slashes',
1918
'gatsby-plugin-resolve-src',
2019
'gatsby-transformer-json',
2120
{
@@ -170,7 +169,8 @@ if (autoCanonicalURL) {
170169
resolve: `gatsby-plugin-react-helmet-canonical-urls`,
171170
options: {
172171
siteUrl: process.env.GATSBY_DEFAULT_MAIN_URL,
173-
noTrailingSlash: true,
172+
noHash: true,
173+
noQueryString: true,
174174
},
175175
});
176176
}

0 commit comments

Comments
 (0)