mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-04-11 00:30:19 +02:00
Refactoring
This commit is contained in:
8
mobile/traque-app/src/services/socket/connection.js
Normal file
8
mobile/traque-app/src/services/socket/connection.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// Socket
|
||||
import { io } from "socket.io-client";
|
||||
// Constants
|
||||
import { SOCKET_URL } from "../../constants";
|
||||
|
||||
export const socket = io(SOCKET_URL, {
|
||||
path: "/back/socket.io"
|
||||
});
|
||||
Reference in New Issue
Block a user