From df71aa677e3dcada7019ecfe0dbd0a42a56dc8a6 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 23 Jul 2023 16:26:12 +0200 Subject: added humans.txt page. --- newspipe/web/views/views.py | 6 ++++++ 1 file changed, 6 insertions(+) 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"} -- cgit