fix(frontend): update websocket server default address
This commit is contained in:
parent
47f56b8bda
commit
3f5db4be22
@ -23,5 +23,5 @@ This package depends on the local packages `@mancala/core` and `mancala.js`. Ref
|
|||||||
### Docker Build
|
### Docker Build
|
||||||
|
|
||||||
```bash
|
```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 .
|
||||||
```
|
```
|
||||||
@ -6,7 +6,7 @@ export type Server = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const LOCAL_SERVER_ADDRESS='http://localhost:5005';
|
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 = {
|
export const server: Server = {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user