Skip to content

Commit

Permalink
fix: make robots.txt urls explicit fixes: #187
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfisher committed Feb 16, 2024
1 parent 530a7ba commit 85535a7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion site/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,14 @@ module.exports = {
icon: `src/img/ajfisher_large.jpg`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-robots-txt`,
{
resolve: `gatsby-plugin-robots-txt`,
options: {
host: `https://ajfisher.me`,
sitemap: 'https://ajfisher.me/sitemap-0.xml',
policy: [{userAgent: '*', allow: '/'}],
}
},
{
resolve: `gatsby-plugin-canonical-urls`,
options: {
Expand Down

0 comments on commit 85535a7

Please sign in to comment.