Added Connection Component, Store, JWT logic
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { io } from "socket.io-client";
|
||||
|
||||
export const socket = io(process.env.NEXT_PUBLIC_DISPATCH_SERVER_URL, {
|
||||
auth: (cb) => {
|
||||
cb({ token: "jwt" });
|
||||
},
|
||||
autoConnect: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user