mirror of
https://github.com/Tencent/WeKnora.git
synced 2026-09-24 16:29:01 +08:00
refactor: Update frontend build configuration in docker-compose and clean up router
- Changed the build context and Dockerfile path for the frontend service in docker-compose.yml for better organization. - Removed the knowledge base settings route from the router to streamline navigation and improve code clarity.
This commit is contained in:
+2
-2
@@ -114,8 +114,8 @@ services:
|
||||
frontend:
|
||||
image: wechatopenai/weknora-ui:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: frontend/Dockerfile
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
container_name: WeKnora-frontend
|
||||
ports:
|
||||
- "${FRONTEND_PORT:-80}:80"
|
||||
|
||||
@@ -63,13 +63,6 @@ const router = createRouter({
|
||||
component: () => import("../views/creatChat/creatChat.vue"),
|
||||
meta: { requiresInit: true, requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: "knowledge-bases/:kbId/settings",
|
||||
name: "knowledgeBaseSettings",
|
||||
component: () => import("../views/initialization/InitializationContent.vue"),
|
||||
props: { isKbSettings: true },
|
||||
meta: { requiresInit: true, requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: "chat/:chatid",
|
||||
name: "chat",
|
||||
|
||||
Reference in New Issue
Block a user