Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions