Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

refactor: Update frontend build configuration in docker-compose and clean up router

wizardchena1fb7946507a
diff --git a/docker-compose.yml b/docker-compose.yml
index 3dda55b96..f071b8fba 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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"
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index 8795bf418..034c75841 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -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",