This commit is contained in:
Aevann1 2021-10-22 01:02:34 +02:00
parent 74c459b71b
commit fed1f5df68

View file

@ -166,7 +166,7 @@ def remove_fake_admin(v, username):
@app.post("/admin/monthly")
#@limiter.limit("1/day")
@limiter.limit("1/day")
@admin_level_required(6)
def monthly(v):
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.id in [1,12,28,29,747,995,1480]) or ('rama' not in request.host and 'pcm' not in request.host):