Skip to content

Commit

Permalink
fix sitemap fetch error
Browse files Browse the repository at this point in the history
  • Loading branch information
Moroshima committed Oct 11, 2023
1 parent bffa0f7 commit 8d71476
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: latest
- run: pnpm config set auto-install-peers true
- run: pnpm install
- run: pnpm run build && pnpm run export
- uses: cloudflare/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module.exports = {
siteUrl: process.env.SITE_URL || "https://example.com",
generateRobotsTxt: true, // (optional)
generateIndexSitemap: false,
robotsTxtOptions: { policies: [{ userAgent: "*", disallow: "/" }] },
robotsTxtOptions: { policies: [{ userAgent: "*", allow: "/" }] },
// ...other options
};

0 comments on commit 8d71476

Please sign in to comment.