i think its finished

This commit is contained in:
2026-01-12 20:00:43 +01:00
parent 0982a0bd7b
commit 009f5f7db7
9 changed files with 184 additions and 11 deletions

View File

@@ -1,5 +1,13 @@
from flask_sqlalchemy import SQLAlchemy
from flask_mail import Mail
from flask_limiter import Limiter
from flask_limiter.util import get_remote_address
db = SQLAlchemy()
mail = Mail()
limiter = Limiter(
get_remote_address,
storage_uri="redis://cache:6379",
storage_options={"socket_connect_timeout": 30},
strategy="fixed-window",
)