From b1648ac41ff506fd31ccd9a5c81abb3c12d4d4cc Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期三, 16 十月 2024 15:38:40 +0800
Subject: [PATCH] /document增加/api前缀

---
 main.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/main.py b/main.py
index 70d19c0..d0131b2 100644
--- a/main.py
+++ b/main.py
@@ -12,10 +12,10 @@
   description="",
 )
 
-app.include_router(auth_router, prefix='/auth', tags=["auth"])
-app.include_router(chat_router, prefix='/chat', tags=["chat"])
-app.include_router(agent_router, prefix='/agent', tags=["agent"])
-app.include_router(excel_router, prefix='/document', tags=["document"])
+app.include_router(auth_router, prefix='/api/auth', tags=["auth"])
+app.include_router(chat_router, prefix='/api/chat', tags=["chat"])
+app.include_router(agent_router, prefix='/api/agent', tags=["agent"])
+app.include_router(excel_router, prefix='/api/document', tags=["document"])
 
 if __name__ == "__main__":
     import uvicorn

--
Gitblit v1.8.0