Skip to content

Commit

Permalink
fix: change too root as more folks seem to be expecting this
Browse files Browse the repository at this point in the history
  • Loading branch information
moonmeister committed May 2, 2021
1 parent dd8161c commit 9d61117
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-sitemap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The [`default config`](https://github.com/gatsbyjs/gatsby/blob/master/packages/g

The options are as follows:

- `output` (string = `/sitemap`) Folder path where sitemaps are stored.
- `output` (string = `/`) Folder path where sitemaps are stored.
- `createLinkInHead` (boolean = true) Whether to populate the `<head>` of your site with a link to the sitemap.
- `entryLimit` (number = 45000) Number of entries per sitemap file, a sitemap index and multiple sitemaps are created if you have more entries.
- `excludes` (string[] = []) An array of paths to exclude from the sitemap. While this is usually an array of strings it is possible to enter other data types into this array for custom filtering. Doing so will require customization of the [`filterPages`](#filterPages) function.
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-sitemap/src/options-validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const pluginOptionsSchema = ({ Joi }) =>
Joi.object({
plugins: Joi.array().strip(),
output: Joi.string()
.default(`/sitemap`)
.default(`/`)
.description(`Folder path where sitemaps are stored in \`public\`.`),
createLinkInHead: Joi.boolean()
.default(true)
Expand Down

0 comments on commit 9d61117

Please sign in to comment.