Skip to content

Commit

Permalink
Add host and sitemap options to robots plugin config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ap3rtur3 committed Jun 26, 2024
1 parent 7a1d9bc commit c791aab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gridsome.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ module.exports = {
{
use: "gridsome-plugin-robots-txt",
options: {
host: process.env.SITE_URL,
sitemap: process.env.SITE_URL + '/sitemap.xml',
policy: [
{
userAgent: "Googlebot",
Expand Down

0 comments on commit c791aab

Please sign in to comment.