mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-04 22:50:18 +00:00
Initial commit of eigent-main
This commit is contained in:
commit
723df5a03e
1144 changed files with 103478 additions and 0 deletions
6
backend/app/middleware/__init__.py
Normal file
6
backend/app/middleware/__init__.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from app import api
|
||||
from app.component.babel import babel_configs
|
||||
from fastapi_babel import BabelMiddleware
|
||||
|
||||
|
||||
api.add_middleware(BabelMiddleware, babel_configs=babel_configs)
|
||||
Loading…
Add table
Add a link
Reference in a new issue