Ignore logging monthly_high_scores route

This commit is contained in:
Tanner Collin 2023-05-02 17:51:51 +00:00
parent 42fa0f1844
commit 51b9aa2b3f

View File

@ -24,7 +24,14 @@ class LoggingThrottle(throttling.BaseThrottle):
return True
elif path == '/sessions/' and user == None:
return True
elif path in ['/pinball/high_scores/', '/protocoin/printer_balance/', '/hosting/high_scores/', '/stats/ord2/printer3d/', '/stats/ord3/printer3d/']:
elif path in [
'/pinball/high_scores/',
'/pinball/monthly_high_scores/',
'/protocoin/printer_balance/',
'/hosting/high_scores/',
'/stats/ord2/printer3d/',
'/stats/ord3/printer3d/'
]:
return True
if request.data: