petit changement pour 429 error handler (temp fix)
CI - Security, Lint & Tests / validate (push) Failing after 59s
CI - Security, Lint & Tests / validate (push) Failing after 59s
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ babel = Babel()
|
|||||||
# No storage is named here on purpose: it comes from RATELIMIT_STORAGE_URI in
|
# No storage is named here on purpose: it comes from RATELIMIT_STORAGE_URI in
|
||||||
# app.config, which create_app fills from the environment and defaults to
|
# app.config, which create_app fills from the environment and defaults to
|
||||||
# `memory://` (SEC-WEB-004). Naming it in both places is how the two drift.
|
# `memory://` (SEC-WEB-004). Naming it in both places is how the two drift.
|
||||||
limiter = Limiter(key_func=get_remote_address, default_limits=["200 per day", "50 per hour"])
|
limiter = Limiter(key_func=get_remote_address, default_limits=["1000 per day", "200 per hour"])
|
||||||
|
|
||||||
|
|
||||||
def hash_password(password):
|
def hash_password(password):
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ TRN_URLS = {
|
|||||||
'Valorant': 'https://tracker.gg/valorant/profile/riot/{username}',
|
'Valorant': 'https://tracker.gg/valorant/profile/riot/{username}',
|
||||||
'League of Legends': 'https://tracker.gg/lol/riot/profile/{username}',
|
'League of Legends': 'https://tracker.gg/lol/riot/profile/{username}',
|
||||||
'Counter-Strike 2': 'https://tracker.gg/cs2/profile/steam/{username}',
|
'Counter-Strike 2': 'https://tracker.gg/cs2/profile/steam/{username}',
|
||||||
'Apex Legends': 'https://tracker.gg/apex/profile/{platform}/{username}',
|
'Apex Legends': 'https://tracker.gg/apex/profile/{platform_code}/{username}',
|
||||||
'Overwatch 2': 'https://tracker.gg/overwatch/profile/battlenet/{username}',
|
'Overwatch 2': 'https://tracker.gg/overwatch/profile/battlenet/{username}',
|
||||||
'Rainbow Six Siege': 'https://r6.tracker.network/r6siege/profile/{platform_code}/{username}',
|
'Rainbow Six Siege': 'https://r6.tracker.network/r6siege/profile/{platform_code}/{username}',
|
||||||
'Rocket League': 'https://rocketleague.tracker.network/rocket-league/profile/{platform_code}/{username}',
|
'Rocket League': 'https://rocketleague.tracker.network/rocket-league/profile/{platform_code}/{username}',
|
||||||
|
|||||||
Reference in New Issue
Block a user