Skip to content

Commit

Permalink
remove URI-config
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeppner-dataport committed May 7, 2024
1 parent b75c386 commit 29d7c8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/data/board/socket/socket.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { io } from "socket.io-client";
import { Action } from "@/types/board/ActionFactory";
import { envConfigModule } from "@/store";

export const useBoardSocketApi = (dispatch: (action: Action) => void) => {
const socket = io(envConfigModule.getEnv.BOARD_COLLABORATION_URI, {
const socket = io({
path: "/board-collaboration",
withCredentials: true,
});
Expand Down

0 comments on commit 29d7c8b

Please sign in to comment.