diff --git a/server.js b/server.js index a6fc029..5abfd56 100644 --- a/server.js +++ b/server.js @@ -13,7 +13,6 @@ const server = http.createServer(app); const io = socketIo(server, { cors: { cors: true, - origins: ["http://192.168.1.7:3000"], } }); diff --git a/src/index.js b/src/index.js index ba5318f..21f7607 100644 --- a/src/index.js +++ b/src/index.js @@ -7,7 +7,7 @@ import Board from './board'; import './index.css'; -const ENDPOINT = "http://localhost:4001"; +const ENDPOINT = "http://localhost:5000"; class NameForm extends React.Component { constructor(props) {