redirect updating hats on WPD

pull/216/head
Aevann 2023-11-01 02:01:52 +03:00
parent 603270716b
commit fbace7a04d
1 changed files with 2 additions and 0 deletions

View File

@ -584,6 +584,8 @@ def update_emoji(v):
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID)
@admin_level_required(PERMS['UPDATE_ASSETS'])
def update_hats(v):
if SITE == 'watchpeopledie.tv':
return redirect('https://rdrama.net/admin/update/hats')
return render_template("admin/update_assets.html", v=v, type="Hat")