Skip to content

Move hardcoded domain to environment variable in sitemap.ts #431

@coderabbitai

Description

@coderabbitai

Issue Description

The sitemap generator in src/app/sitemap.ts currently uses a hardcoded domain URL https://docs.logchimp.codecarrot.net. This creates maintenance issues and will break in development or staging environments.

Suggestion

Consider moving the domain to an environment variable (e.g., NEXT_PUBLIC_SITE_URL) to support different environments properly.

Context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions