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
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:
next-sitemapgeneration and replace it at runtimenext-sitemapBoth 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