Dispatch Router-Struktur; AddPenalty Layout gefixed
This commit is contained in:
7
apps/dispatch/app/(app)/pilot/socket.ts
Normal file
7
apps/dispatch/app/(app)/pilot/socket.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
"use client";
|
||||
import { io, Socket } from "socket.io-client";
|
||||
|
||||
export const pilotSocket: Socket = io(process.env.NEXT_PUBLIC_DISPATCH_SERVER_URL, {
|
||||
autoConnect: false,
|
||||
transports: ["websocket"],
|
||||
});
|
||||
Reference in New Issue
Block a user