feat: 添加API服务器配置和GraphQL路由,重载配置功能,更新日志信息
This commit is contained in:
@@ -14,7 +14,7 @@ router = APIRouter()
|
||||
logger = get_logger("api")
|
||||
|
||||
# maiapi = FastAPI()
|
||||
logger.info("API server started.")
|
||||
logger.info("麦麦API服务器已启动")
|
||||
graphql_router = GraphQLRouter(schema=None, path="/") # Replace `None` with your actual schema
|
||||
|
||||
router.include_router(graphql_router, prefix="/graphql", tags=["GraphQL"])
|
||||
|
||||
Reference in New Issue
Block a user