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:
wizardchen
2025-11-13 20:32:58 +08:00
parent 9b7128d69d
commit a1fb794650
2 changed files with 2 additions and 9 deletions
+2 -2
View File
@@ -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"
-7
View File
@@ -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",