Skip to content

[REF-3107] Dynamic domain in sitemap #3489

@benedikt-bartscher

Description

@benedikt-bartscher

Currently, reflex generates sitemaps with a static domain. If you want to deploy the same codebase to 2 different domains, one would need to build 2 different docker images.

Possible Solutions:

  • Set a placeholder domain during next-sitemap generation and replace it at runtime
  • Generate the whole sitemap with python instead of next-sitemap

Both solutions would require us to move the sitemap serving from frontend to backend. Maybe there is a solution via nextjs which does not require this.

REF-3107

Metadata

Metadata

Assignees

Labels

feature requestA feature you wanted added to reflex

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions