Skip to content

Commit

Permalink
GH-157: Apply basic auth to security.txt for dev/test
Browse files Browse the repository at this point in the history
  • Loading branch information
markhobson committed Sep 26, 2024
1 parent e4a3860 commit 7ac2523
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schemes/views/legal.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ def cookies() -> str:


@bp.get("/.well-known/security.txt")
@basic_auth
def security() -> Response:
return send_from_directory(directory="views/templates/legal", path="security.txt")

0 comments on commit 7ac2523

Please sign in to comment.