diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 79fd5f0..220d8b5 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -17,12 +17,6 @@ jobs: contents: read packages: write steps: - - name: Check disk space before cleanup - run: df -h - - name: Clean up disk space - run: | - docker system prune -af - df -h - name: Checkout uses: actions/checkout@v3 with: @@ -50,12 +44,6 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - name: Check disk space before cleanup - run: df -h - - name: Clean up disk space - run: | - docker system prune -af - df -h - name: Checkout uses: actions/checkout@v3 with: diff --git a/app/frontend/.env.production b/app/frontend/.env.production new file mode 100644 index 0000000..6eaca9d --- /dev/null +++ b/app/frontend/.env.production @@ -0,0 +1 @@ +REACT_APP_BASE_URL=https://backend.aimingmed.com/ \ No newline at end of file diff --git a/app/frontend/src/App.tsx b/app/frontend/src/App.tsx index 0a9f2cf..f6dbf71 100644 --- a/app/frontend/src/App.tsx +++ b/app/frontend/src/App.tsx @@ -13,7 +13,7 @@ const App: React.FC = () => { useEffect(() => { mounted.current = true; - const ws = new WebSocket('ws://localhost:8000/ws'); + const ws = new WebSocket('ws://localhost:8004/ws'); setSocket(ws); ws.onopen = () => { console.log('WebSocket connection opened');