2026.06.04 frontend építés közben
This commit is contained in:
@@ -59,8 +59,12 @@ app = FastAPI(
|
||||
)
|
||||
|
||||
# --- MIDDLEWARES ---
|
||||
# I18n middleware should come early to set locale context for all subsequent processing
|
||||
from app.core.i18n_middleware import I18nMiddleware
|
||||
app.add_middleware(I18nMiddleware)
|
||||
|
||||
app.add_middleware(
|
||||
SessionMiddleware,
|
||||
SessionMiddleware,
|
||||
secret_key=settings.SECRET_KEY
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user