aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2023-07-23 16:26:12 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2023-07-23 16:26:12 +0200
commitdf71aa677e3dcada7019ecfe0dbd0a42a56dc8a6 (patch)
tree2b5604fe668ede537ec1277e7b98133f015a522f
parentUpdated dependencies. (diff)
downloadnewspipe-df71aa677e3dcada7019ecfe0dbd0a42a56dc8a6.tar.gz
newspipe-df71aa677e3dcada7019ecfe0dbd0a42a56dc8a6.tar.bz2
newspipe-df71aa677e3dcada7019ecfe0dbd0a42a56dc8a6.zip
added humans.txt page.
-rw-r--r--newspipe/web/views/views.py6
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"}
bgstack15