Skip to content

Commit ded7da2

Browse files
committed
Add server URL
1 parent 04f806e commit ded7da2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

chat-app/client/src/App.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import Message from "./components/Message";
44
import "./App.css";
55

66
const App = () => {
7-
const { messages, sendMessage } = useSocket("http://localhost:3000");
7+
const { messages, sendMessage } = useSocket(
8+
"https://craig-dsilva-chat-app-server.hosting.codeyourfuture.io/",
9+
);
810
const [input, setInput] = useState("");
911

1012
const handleSend = () => {

0 commit comments

Comments
 (0)