Skip to content

Fix issue with robots.txt deploy#796

Merged
briri merged 3 commits into
v5from
bug/robots
Jun 25, 2026
Merged

Fix issue with robots.txt deploy#796
briri merged 3 commits into
v5from
bug/robots

Conversation

@briri

@briri briri commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Fixes #292

It turns out that Rails' /public folder is created during the build process when Rails compiles its assets. Capistrano then has a step to copy over the file from config/robots.txt into the new public/ directory.

  • deleted old unnecessary public/robots.txt
  • updated config/robots.txt with the new rules to disallow PDF scraping

@briri briri requested a review from jupiter007 June 24, 2026 18:35

@jupiter007 jupiter007 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

Thanks for making the update Brian.

@briri briri merged commit 4a82513 into v5 Jun 25, 2026
0 of 8 checks passed
@briri briri deleted the bug/robots branch June 25, 2026 14:36
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