Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
thakiyudheen committed Aug 21, 2024
1 parent ca17a8b commit 7e053dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/context/socketContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ export const SocketProvider: React.FC<{ children: React.ReactNode }> = ({ childr
if (data?.data) {
// import.meta.env.VITE_SERVER_URL
// ,
const newSocket = io('https://acecart.shop', {
// const newSocket = io('https://acecart.shop', {
// transports: ['websocket', 'polling'],
// query:{
// userId:data?.data?._id
// }
// });
const newSocket = io('https://learnup-chat.onrender.com/api/chat', {
transports: ['websocket', 'polling'],
query:{
userId:data?.data?._id
Expand Down

0 comments on commit 7e053dd

Please sign in to comment.