function resolvePagePath(page) {
  if (!page?.path) {
    throw Error(
      `\`path\` does not exist on your page object.
Make the page URI available at \`path\` or provide a custom \`resolvePagePath\` function.
https://www.gatsbyjs.com/plugins/gatsby-plugin-sitemap/#api-reference
      `
    )
  }

  return page.path
}
@name resolvePagePath

if you don't want to place the URI in "path" then resolvePagePath
are needed.

@param {object} page - Array Item returned from resolvePages
@returns {string} - uri of the page without domain or protocol