06/04 Optimize app

This commit is contained in:
2026-06-04 10:48:31 -04:00
parent 3abd073437
commit 8bed900297
6 changed files with 22 additions and 11 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ db = SQLAlchemy()
login_manager = LoginManager()
migrate = Migrate()
csrf = CSRFProtect()
limiter = Limiter(key_func=get_remote_address, storage_uri='memory://')
limiter = Limiter(key_func=get_remote_address) # storage backend set via RATELIMIT_STORAGE_URI in app config
login_manager.login_view = 'auth.login'
login_manager.login_message = 'Please log in to access this page.'