Skip to content

Commit

Permalink
Allows sitemap output on root of public folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolamas committed Apr 30, 2021
1 parent 4259940 commit ff1a167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-plugin-sitemap/src/options-validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const pluginOptionsSchema = ({ Joi }) =>
Joi.object({
plugins: Joi.array().strip(),
output: Joi.string()
.allow(``)
.default(`/sitemap`)
.description(`Folder path where sitemaps are stored in \`public\`.`),
createLinkInHead: Joi.boolean()
Expand Down

0 comments on commit ff1a167

Please sign in to comment.