pagarme / superbowleto

:football: A microservice to issue, register and manage boletos
MIT License
5 stars 0 forks source link

web-server: add robots.txt route #284

Closed igorantun closed 6 years ago

igorantun commented 6 years ago

Description

This PR implements the /robots.txt route, that always returns User-Agent: * Disallow: /. This is needed so Google and other search engines don't crawl our boletos and routes.

Closes pagarme/ghostbusters#170

Your checklist for this pull request

:rotating_light: Please review this items for a good pull request. :four_leaf_clover:

  1. I've read the project's Contributing Guidelines
  2. My commits are well written and follow pagarme/git-style-guide
  3. My changes are well covered by tests and logs
  4. I've updated the project docs (if needed)
  5. I fell safe about this implementation
  6. I feel comfortable with the code I wrote, and I'm not ashamed to show it to my friends

In a good pull request, everything above is true :relaxed:

evaporei commented 6 years ago

Boa @IgorAntun !!! Acho que seria massa também adicionar o contexto no corpo do commit para dar mais detalhes a quem for ler isso no futuro. Quero dizer adicionar o porque dessa rota ser implementada. :)

igorantun commented 6 years ago

Feito @otaviopace :)