Skip to content

Commit

Permalink
again chat
Browse files Browse the repository at this point in the history
  • Loading branch information
thakiyudheen committed Jul 15, 2024
1 parent fc9e08e commit 9dbd357
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/context/socketContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const SocketProvider: React.FC<{ children: React.ReactNode }> = ({ childr
useEffect(() => {
if (data?.data) {
// import.meta.env.VITE_SERVER_URL
// , { transports: ['websocket'], withCredentials:true }
const newSocket = io('https://acecart.shop');
// ,
const newSocket = io('https://acecart.shop',{ transports: ['websocket'], withCredentials:true });


newSocket.on('connect', () => {
Expand Down

0 comments on commit 9dbd357

Please sign in to comment.