diff --git a/client/public/_redirects b/client/public/_redirects new file mode 100644 index 0000000..50a4633 --- /dev/null +++ b/client/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200 \ No newline at end of file diff --git a/client/src/components/Chat/Chat.js b/client/src/components/Chat/Chat.js index 24ac7b9..7ea6bc6 100644 --- a/client/src/components/Chat/Chat.js +++ b/client/src/components/Chat/Chat.js @@ -16,7 +16,7 @@ const Chat = ({ location }) => { const [users, setUsers] = useState([]); const [message, setMessage] = useState(''); const [messages, setMessages] = useState([]); - const ENDPOINT = 'https://e76c276a8ec4c46e80cec9bd1a3b67.herokuapp.com/'; + const ENDPOINT = 'https://chatapp-clone-api.herokuapp.com/'; useEffect(() => { const { name, room } = queryString.parse(location.search); diff --git a/client/src/components/Join/Join.js b/client/src/components/Join/Join.js index 95b7b40..b13367f 100644 --- a/client/src/components/Join/Join.js +++ b/client/src/components/Join/Join.js @@ -13,7 +13,7 @@ const Join = () => {