Skip to content

Commit

Permalink
feat(seo): add post thumbnail path to robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Jul 4, 2023
1 parent 43e232b commit 2d1e04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/robots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/'
allow: ['/', '/post/*/thumbnail'],
},
sitemap: `${host}/sitemap.xml`
}
Expand Down

0 comments on commit 2d1e04c

Please sign in to comment.