Skip to content

Commit

Permalink
v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mohit-nagaraj committed Sep 1, 2024
1 parent 48b1670 commit c4b9388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/pages/Chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const Chat = () => {
} else {
fetchUserChat();
// const newSocket = io("http://localhost:3000");
const newSocket = io("https://ec2-65-2-83-179.ap-south-1.compute.amazonaws.com:3000");
const newSocket = io("http://65.2.83.179:3000");
setSocket(newSocket);
return () => newSocket.disconnect();
}
Expand Down
2 changes: 1 addition & 1 deletion client/src/utils/interceptor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from "axios";

// export const baseUrl = "http://localhost:5000/api";
export const baseUrl = "https://ec2-65-2-83-179.ap-south-1.compute.amazonaws.com:5000/api";
export const baseUrl = "http://65.2.83.179:5000/api";

const axiosInstance = axios.create({
baseURL: baseUrl,
Expand Down

0 comments on commit c4b9388

Please sign in to comment.