Skip to content

feat: Dynamic SEO/crawler endpoints#191

Merged
hhvrc merged 4 commits intodevelopfrom
feat/sso-optimizations
Apr 16, 2026
Merged

feat: Dynamic SEO/crawler endpoints#191
hhvrc merged 4 commits intodevelopfrom
feat/sso-optimizations

Conversation

@hhvrc
Copy link
Copy Markdown
Contributor

@hhvrc hhvrc commented Apr 15, 2026

No description provided.

@hhvrc hhvrc self-assigned this Apr 15, 2026
@hhvrc hhvrc added the enhancement New feature or request label Apr 15, 2026
Copilot AI review requested due to automatic review settings April 15, 2026 23:24
@hhvrc hhvrc changed the title seat: SSO optimizations feat: SSO optimizations Apr 15, 2026
Comment thread src/routes/(meta)/sitemap.xml/+server.ts Fixed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds dynamic crawler/metadata endpoints (robots/sitemap/llms) driven by environment flags and auto-discovered public routes.

Changes:

  • Replace static robots.txt with a runtime robots.txt endpoint that can deny crawlers and optionally advertise a sitemap.
  • Add new sitemap.xml and llms.txt endpoints.
  • Introduce route-discovery (public-routes) and boolean flag parsing (isTruthy) utilities.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
static/robots.txt Removes the static robots file so the new dynamic endpoint can take effect.
src/routes/(meta)/robots.txt/+server.ts Implements dynamic robots.txt with env-controlled deny + sitemap link.
src/routes/(meta)/sitemap.xml/+server.ts Implements a generated sitemap based on discovered public routes.
src/routes/(meta)/llms.txt/+server.ts Implements an llms.txt document generated from public/app routes + env metadata.
src/routes/(meta)/+layout.ts Adds route-group config (prerender off) for meta endpoints.
src/lib/utils/public-routes.ts Discovers routes via import.meta.glob and exposes public/authenticated route lists.
src/lib/utils/parse.ts Adds isTruthy helper for env-var style boolean parsing.
src/lib/utils/index.ts Re-exports the new parse utility.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/routes/(meta)/robots.txt/+server.ts Outdated
Comment thread src/lib/utils/parse.ts
Comment thread src/lib/utils/public-routes.ts Outdated
Comment thread src/routes/(meta)/robots.txt/+server.ts
Comment thread src/routes/(meta)/sitemap.xml/+server.ts
Comment thread src/routes/(meta)/sitemap.xml/+server.ts
Comment thread src/routes/(meta)/llms.txt/+server.ts
@hhvrc hhvrc changed the title feat: SSO optimizations feat: Dynamic SEO/crawler endpoints Apr 16, 2026
@hhvrc hhvrc merged commit 6b0d4b0 into develop Apr 16, 2026
11 checks passed
@hhvrc hhvrc deleted the feat/sso-optimizations branch April 16, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants