Skip to content

Commit

Permalink
make robots default multiline string
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour committed Jul 10, 2024
1 parent 0ce4551 commit 8d47d48
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cubedash/_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@

_DEFAULT_ARRIVALS_DAYS = 14

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


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

0 comments on commit 8d47d48

Please sign in to comment.