mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 16:37:29 +08:00
update
This commit is contained in:
parent
afb90160a3
commit
4810485a01
12
.github/workflows/develop.yml
vendored
12
.github/workflows/develop.yml
vendored
@ -17,12 +17,6 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Check disk space before cleanup
|
|
||||||
run: df -h
|
|
||||||
- name: Clean up disk space
|
|
||||||
run: |
|
|
||||||
docker system prune -af
|
|
||||||
df -h
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -50,12 +44,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Check disk space before cleanup
|
|
||||||
run: df -h
|
|
||||||
- name: Clean up disk space
|
|
||||||
run: |
|
|
||||||
docker system prune -af
|
|
||||||
df -h
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
1
app/frontend/.env.production
Normal file
1
app/frontend/.env.production
Normal file
@ -0,0 +1 @@
|
|||||||
|
REACT_APP_BASE_URL=https://backend.aimingmed.com/
|
||||||
@ -13,7 +13,7 @@ const App: React.FC = () => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
mounted.current = true;
|
mounted.current = true;
|
||||||
const ws = new WebSocket('ws://localhost:8000/ws');
|
const ws = new WebSocket('ws://localhost:8004/ws');
|
||||||
setSocket(ws);
|
setSocket(ws);
|
||||||
ws.onopen = () => {
|
ws.onopen = () => {
|
||||||
console.log('WebSocket connection opened');
|
console.log('WebSocket connection opened');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user