From 06c44fd4b860071b429163bccca96c8781e51de6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 3 Nov 2021 00:08:43 +0200 Subject: [PATCH] sdfdsf --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 38547b3f5..7e4228dbc 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -387,7 +387,7 @@ def following(username, v): @app.get("/views") @auth_required def visitors(v): - if v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v) + if request.host == 'rdrama.net' and v.admin_level < 1 and not v.patron: return render_template("errors/patron.html", v=v) viewers=sorted(v.viewers, key = lambda x: x.last_view_utc, reverse=True) return render_template("viewers.html", v=v, viewers=viewers)