|
@@ -7,7 +7,7 @@ import uvicorn
|
|
|
from fastapi import FastAPI
|
|
|
from loguru import logger
|
|
|
|
|
|
-from app.api.routers import targets, equipment, space, item, user
|
|
|
+from app.api.routers import targets, equipment, space, item, user, bluetooth
|
|
|
from app.core.config import settings
|
|
|
from app.core.events import create_start_app_handler
|
|
|
from app.core.logger import InterceptHandler
|
|
@@ -29,6 +29,7 @@ def get_application() -> FastAPI:
|
|
|
application.include_router(targets.router, prefix='/target', tags=['targets'])
|
|
|
application.include_router(item.router, prefix='/items', tags=['items'])
|
|
|
application.include_router(user.router, prefix='/users', tags=['users'])
|
|
|
+ application.include_router(bluetooth.router, prefix='/bluetooth', tags=['bluetooth'])
|
|
|
|
|
|
return application
|
|
|
|