From c791aab9b0e305970ed6a8fc4e29eb7918668e80 Mon Sep 17 00:00:00 2001 From: Marcel Solle Date: Wed, 26 Jun 2024 19:48:43 +0200 Subject: [PATCH] Add host and sitemap options to robots plugin config --- gridsome.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gridsome.config.js b/gridsome.config.js index 1ce9df9..ce4071e 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -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",