mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-15 00:13:35 -06:00
increase global default limiter
this was way too low as it applied to routes on the home page, which would max someone out who just clicked on the links available freely
This commit is contained in:
@@ -16,7 +16,7 @@ login = LoginManager(app)
|
||||
login.login_view = 'login'
|
||||
db = SQLAlchemy(app)
|
||||
migrate = Migrate(app, db)
|
||||
limiter = Limiter(app, key_func=get_remote_address, default_limits=["10 per minute"])
|
||||
limiter = Limiter(app, key_func=get_remote_address, default_limits=["10 per second"])
|
||||
|
||||
from app import models
|
||||
from app import routes, simple_routes, hidden, dashboard
|
||||
|
||||
Reference in New Issue
Block a user