Skip to content

Commit

Permalink
update robots.txt to also disallow /dataset/* pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour committed Jul 8, 2024
1 parent 0ed0a01 commit c688069
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cubedash/_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@

_DEFAULT_ARRIVALS_DAYS = 14

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


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

0 comments on commit c688069

Please sign in to comment.