Skip to content

Commit

Permalink
Merge pull request #616 from opendatacube/update_robots_txt
Browse files Browse the repository at this point in the history
Update robots.txt default content
  • Loading branch information
omad authored Jul 11, 2024
2 parents 5100d50 + 8d47d48 commit 09e2e61
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cubedash/_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@

_DEFAULT_ARRIVALS_DAYS = 14

_ROBOTS_TXT_DEFAULT = (
"User-Agent: *\nAllow: /\nDisallow: /products/*/*\nDisallow: /stac/**"
)
_ROBOTS_TXT_DEFAULT = """User-Agent: *
Allow: /
Disallow: /products/*/*
Disallow: /stac/**
Disallow: /dataset/*
"""


@bp.route("/<product_name>")
Expand Down

0 comments on commit 09e2e61

Please sign in to comment.