Skip to content

Commit

Permalink
Update Messages.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
KeshavGogia committed Sep 15, 2024
1 parent 1a65150 commit 3ca72e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/Messages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Messages = () => {
const fetchMessages = async () => {
try {
const { data } = await axios.get(
"http://localhost:8000/api/v1/message/getall",
`${process.env.REACT_APP_BACKEND_URL}/api/v1/message/getall`,
{ withCredentials: true }
);
setMessages(data.messages);
Expand Down

0 comments on commit 3ca72e7

Please sign in to comment.