diff --git a/front/src/components/UsersList/index.tsx b/front/src/components/UsersList/index.tsx index a9e5190..8a77575 100644 --- a/front/src/components/UsersList/index.tsx +++ b/front/src/components/UsersList/index.tsx @@ -55,7 +55,7 @@ const UsersList: React.FC = () => { return ( - Usuários + Bienvenue {users.map((user) => ( { value={password} onChange={(event) => setPassword(event.target.value)} /> - + Vous avez déja un compte ? Cliquer ici ! diff --git a/front/src/services/api.ts b/front/src/services/api.ts index 61acd84..37d2dd1 100644 --- a/front/src/services/api.ts +++ b/front/src/services/api.ts @@ -1,7 +1,7 @@ import axios from "axios"; const api = axios.create({ - baseURL: "http://backend:3333", + baseURL: "http://localhost:3333", }); export default api; diff --git a/front/src/services/socket.tsx b/front/src/services/socket.tsx index 5255c3b..e89cc04 100644 --- a/front/src/services/socket.tsx +++ b/front/src/services/socket.tsx @@ -8,7 +8,7 @@ interface IRequest { const Socket = ({ user_id }: IRequest) => { const socket = useMemo( () => - socketio("http://backend:3333", { + socketio("http://localhost:3333", { query: { user_id }, }), [user_id]