diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2023-07-23 16:26:12 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2023-07-23 16:26:12 +0200 |
commit | df71aa677e3dcada7019ecfe0dbd0a42a56dc8a6 (patch) | |
tree | 2b5604fe668ede537ec1277e7b98133f015a522f | |
parent | Updated dependencies. (diff) | |
download | newspipe-df71aa677e3dcada7019ecfe0dbd0a42a56dc8a6.tar.gz newspipe-df71aa677e3dcada7019ecfe0dbd0a42a56dc8a6.tar.bz2 newspipe-df71aa677e3dcada7019ecfe0dbd0a42a56dc8a6.zip |
added humans.txt page.
-rw-r--r-- | newspipe/web/views/views.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newspipe/web/views/views.py b/newspipe/web/views/views.py index bb7bff2f..3fc446e0 100644 --- a/newspipe/web/views/views.py +++ b/newspipe/web/views/views.py @@ -125,3 +125,9 @@ def about_more(): def robots(): """Robots dot txt page.""" return render_template("robots.txt"), 200, {"Content-Type": "text/plain"} + + +@current_app.route("/humans.txt", methods=["GET"]) +def humans(): + """Human dot txt page.""" + return render_template("humans.txt"), 200, {"Content-Type": "text/plain"} |