This commit is contained in:
2024-11-17 01:53:10 +03:00
parent f6b300fc2c
commit ef3c8c8006
7 changed files with 22 additions and 1 deletions

View File

@@ -1,15 +1,19 @@
import fastapi
import uvicorn
from app.storage import mongo
from app.middlewares import check_token
from app.routers import take
from app.routers import put
from app.routers import finish
from app.storage import mongo
app = fastapi.FastAPI()
app.add_middleware(check_token.CheckToken)
app.include_router(take.router)
app.include_router(put.router)
app.include_router(finish.router)