Add sitemap generation #8

Merged
N0tAI merged 8 commits from dev into main 2026-04-03 03:46:24 +00:00
N0tAI commented 2026-04-03 03:45:13 +00:00 (Migrated from github.com)

This PR adds @astrojs/sitemap to automatically generate a sitemap for better SEO with webcrawlers.

This PR adds @astrojs/sitemap to automatically generate a sitemap for better SEO with webcrawlers.
gemini-code-assist[bot] (Migrated from github.com) reviewed 2026-04-03 03:47:05 +00:00
gemini-code-assist[bot] (Migrated from github.com) left a comment

Code Review

This pull request updates several dependencies, including Astro and the Cloudflare adapter, and introduces the sitemap integration. It also configures the site URL and sets the prerender environment to Node. Feedback was provided regarding the removal of the compatibility_date in wrangler.jsonc, which is necessary for maintaining a stable runtime environment on Cloudflare.

## Code Review This pull request updates several dependencies, including Astro and the Cloudflare adapter, and introduces the sitemap integration. It also configures the site URL and sets the prerender environment to Node. Feedback was provided regarding the removal of the compatibility_date in wrangler.jsonc, which is necessary for maintaining a stable runtime environment on Cloudflare.
@ -1,5 +1,4 @@
{
"compatibility_date": "2026-02-21",
"name": "portfolio-worker",
"assets": {
gemini-code-assist[bot] (Migrated from github.com) commented 2026-04-03 03:47:05 +00:00

high

The compatibility_date field is required for Cloudflare Workers to ensure a stable and predictable runtime environment. Removing it may cause deployment failures or unexpected behavior as Wrangler will default to the current date, potentially opting into breaking changes. Please restore this field with a valid date.

	"compatibility_date": "2025-01-01",
	"name": "portfolio-worker",
![high](https://www.gstatic.com/codereviewagent/high-priority.svg) The `compatibility_date` field is required for Cloudflare Workers to ensure a stable and predictable runtime environment. Removing it may cause deployment failures or unexpected behavior as Wrangler will default to the current date, potentially opting into breaking changes. Please restore this field with a valid date. ``` "compatibility_date": "2025-01-01", "name": "portfolio-worker", ```
Sign in to join this conversation.
No description provided.