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:
|
frontend:
|
||||||
image: wechatopenai/weknora-ui:latest
|
image: wechatopenai/weknora-ui:latest
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ./frontend
|
||||||
dockerfile: frontend/Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: WeKnora-frontend
|
container_name: WeKnora-frontend
|
||||||
ports:
|
ports:
|
||||||
- "${FRONTEND_PORT:-80}:80"
|
- "${FRONTEND_PORT:-80}:80"
|
||||||
|
|||||||
@@ -63,13 +63,6 @@ const router = createRouter({
|
|||||||
component: () => import("../views/creatChat/creatChat.vue"),
|
component: () => import("../views/creatChat/creatChat.vue"),
|
||||||
meta: { requiresInit: true, requiresAuth: true }
|
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",
|
path: "chat/:chatid",
|
||||||
name: "chat",
|
name: "chat",
|
||||||
|
|||||||
Reference in New Issue
Block a user