Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly set host in branch deploys #1436

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Correctly set host in branch deploys #1436

merged 2 commits into from
Nov 19, 2024

Conversation

dtuite
Copy link
Member

@dtuite dtuite commented Nov 19, 2024

The robot.txt on branch deploys has the host wrong (here's an example).

User-agent: *
Disallow: /
Sitemap: https://roadie.io/sitemap-index.xml
Host: https://roadie.io

This PR changes it to (for example):

User-agent: *
Disallow: /
Sitemap: https://deploy-preview-1420--roadie.netlify.app/sitemap-index.xml
Host: https://deploy-preview-1420--roadie.netlify.app/

@dtuite dtuite requested a review from a team November 19, 2024 10:05
@dtuite dtuite self-assigned this Nov 19, 2024
@dtuite dtuite merged commit ab5f740 into main Nov 19, 2024
6 checks passed
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.

2 participants