diff --git a/apps/frontend/README.md b/apps/frontend/README.md index d028fcf..873596b 100644 --- a/apps/frontend/README.md +++ b/apps/frontend/README.md @@ -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 . ``` \ No newline at end of file diff --git a/apps/frontend/src/const/config.ts b/apps/frontend/src/const/config.ts index 63dea66..4da4a82 100644 --- a/apps/frontend/src/const/config.ts +++ b/apps/frontend/src/const/config.ts @@ -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