fix(frontend): update websocket server default address

This commit is contained in:
Halit Aksoy 2024-12-22 00:54:57 +03:00
parent 47f56b8bda
commit 3f5db4be22
2 changed files with 2 additions and 2 deletions

View File

@ -23,5 +23,5 @@ This package depends on the local packages `@mancala/core` and `mancala.js`. Ref
### Docker Build
```bash
docker build --build-arg SERVER_ADDRESS=http://localhost:5000 --build-arg WS_SERVER_ADDRESS=http://localhost:5000 -t mancala-frontend .
docker build --build-arg SERVER_ADDRESS=http://localhost:5000 --build-arg WS_SERVER_ADDRESS=ws://localhost:5000 -t mancala-frontend .
```

View File

@ -6,7 +6,7 @@ export type Server = {
};
export const LOCAL_SERVER_ADDRESS='http://localhost:5005';
export const LOCAL_WS_SERVER_ADDRESS='http://localhost:5005';
export const LOCAL_WS_SERVER_ADDRESS='ws://localhost:5005';
export const server: Server = {
//@ts-ignore