Skip to content

Conversation

@Tushar-kalsi-virtualfusion

Updated trusted-server.toml and settings.rs to include a new robots_tag option for controlling the X-Robots-Tag header in publisher content responses. The default value is set to "noindex, nofollow". Modified main.rs to conditionally add the X-Robots-Tag header based on the configured value.

Updated trusted-server.toml and settings.rs to include a new robots_tag option for controlling the X-Robots-Tag header in publisher content responses. The default value is set to "noindex, nofollow". Modified main.rs to conditionally add the X-Robots-Tag header based on the configured value.
@Tushar-kalsi
Copy link

Address this issue

Copy link
Collaborator

@ChristianPavilonis ChristianPavilonis left a comment

Choose a reason for hiding this comment

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

Hey thanks for the PR.

I think we want the config to be more flexible letting us customize what headers are on every request.

For example

headers = {x-robots-tag = "noindex, nofollow"}

Then use a Option in the setting struct.

@aram356
Copy link
Collaborator

aram356 commented Nov 6, 2025

Closing since duplicated by #84

@aram356 aram356 closed this Nov 6, 2025
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.

4 participants