diff --git a/frontend/.env b/frontend/.env index edcf512..cbc4b2d 100644 --- a/frontend/.env +++ b/frontend/.env @@ -1,11 +1,11 @@ VITE_APP_PORT=5173 VITE_SOURCE_MAP=true # mock -#ITE_ENABLE_MOCK=true -#VITE_BASE_URL=http://localhost:5173 +VITE_ENABLE_MOCK=true +VITE_BASE_URL=http://localhost:5173 # local -VITE_ENABLE_MOCK=false -VITE_BASE_URL=http://localhost:8080 +#VITE_ENABLE_MOCK=false +#VITE_BASE_URL=http://localhost:8080 # dev #VITE_ENABLE_MOCK=false #VITE_BASE_URL=https://localhost/api diff --git a/frontend/src/api/mocks/departmentHandlers.ts b/frontend/src/api/mocks/departmentHandlers.ts index 674f99a..1fd7e48 100644 --- a/frontend/src/api/mocks/departmentHandlers.ts +++ b/frontend/src/api/mocks/departmentHandlers.ts @@ -16,7 +16,7 @@ export default [ }; return HttpResponse.json(mockData); }), - http.get("/department/query", () => { + http.get("/department/query-available", () => { const generateDepartment = () => ({ id: faker.number.int({ min: 1, max: 30 }), name: faker.company.name(), diff --git a/frontend/src/components/Breadcrumbs.vue b/frontend/src/components/Breadcrumbs.vue index 7cb9c5e..532eb65 100644 --- a/frontend/src/components/Breadcrumbs.vue +++ b/frontend/src/components/Breadcrumbs.vue @@ -3,7 +3,7 @@