Skip to content

1688 create sitemapxml and robotstxt#1690

Open
krowvin wants to merge 4 commits intodevelopfrom
1688-create-sitemapxml-and-robotstxt
Open

1688 create sitemapxml and robotstxt#1690
krowvin wants to merge 4 commits intodevelopfrom
1688-create-sitemapxml-and-robotstxt

Conversation

@krowvin
Copy link
Copy Markdown
Collaborator

@krowvin krowvin commented Apr 11, 2026

React router now uses a small shared route manifest so the GUI build can generate
sitemap.xml automatically from the app routes.

i.e. cda-gui/src/route-paths.js

Sitemap is packaged into the WAR and also copied to Tomcat ROOT in the Docker image so it’s available at /sitemap.xml.

Tomcat root app was updated to replace the placeholder page. / now returns a real HTTP 302 redirect to /cwms-data/, and /robots.txt is served from root with rules that allow the GUI while blocking raw API/query surfaces.

Confirmed war builds with sitemap.xml in it

Verified the container root returns 302 Location: /cwms-data/

@krowvin krowvin requested a review from MikeNeilson April 11, 2026 04:31
@krowvin krowvin linked an issue Apr 11, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Sitemap.xml and robots.txt and redirect / to /cwms-data

1 participant