diff --git a/deployment/docker/label-studio/docker-compose.yml b/deployment/docker/label-studio/docker-compose.yml index e6c739c..4026b6a 100644 --- a/deployment/docker/label-studio/docker-compose.yml +++ b/deployment/docker/label-studio/docker-compose.yml @@ -9,7 +9,7 @@ services: expose: - "8000" ports: - - "8000:8000" + - "30001:8000" depends_on: - pg-db environment: diff --git a/frontend/src/pages/DataAnnotation/Home/DataAnnotation.tsx b/frontend/src/pages/DataAnnotation/Home/DataAnnotation.tsx index 3118d74..1564a64 100644 --- a/frontend/src/pages/DataAnnotation/Home/DataAnnotation.tsx +++ b/frontend/src/pages/DataAnnotation/Home/DataAnnotation.tsx @@ -14,7 +14,6 @@ import { deleteAnnotationTaskByIdUsingDelete, queryAnnotationTasksUsingGet, syncAnnotationTaskUsingPost, - getConfigUsingGet, } from "../annotation.api"; import { mapAnnotationTask } from "../annotation.const"; import CreateAnnotationTask from "../Create/components/CreateAnnptationTaskDialog"; @@ -47,7 +46,7 @@ export default function DataAnnotation() { let mounted = true; (async () => { try { - const baseUrl = `http://${window.location.hostname}:8000`; + const baseUrl = `http://${window.location.hostname}:${window.location.port + 1}`; if (mounted) setLabelStudioBase(baseUrl); } catch (e) { if (mounted) setLabelStudioBase(null);