diff --git a/src/components/chat.jsx b/src/components/chat.jsx index ab5834f..eb26036 100644 --- a/src/components/chat.jsx +++ b/src/components/chat.jsx @@ -5,7 +5,7 @@ import FriendNom from './friend_nom' -const socket = io('https://ichatt.herokuapp.com/'); +const socket = io('https://ichatt.herokuapp.com'); export default class Chat extends Component { // création du state "message" constructor(props) { @@ -200,4 +200,4 @@ export default class Chat extends Component { ); } } - } \ No newline at end of file + }