Add Prepared Animation

This commit is contained in:
Ralex91
2024-02-01 16:35:10 +01:00
parent 1839f31a21
commit c2db3810ac
10 changed files with 95 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ import { io } from "socket.io-client"
import { createContext, useContext, useState } from "react"
import { WEBSOCKET_URL } from "@/constants"
export const socket = io("http://localhost:5157", {
export const socket = io(WEBSOCKET_URL, {
path: "/ws/",
//addTrailingSlash: false,
transports: ["websocket"],