fixed socket issue

deployment_final
s8613 2025-07-02 16:05:59 +02:00
parent 26700d5be1
commit 7da4c51a89
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ import { API_HOST } from "./util/api";
const url = new URL(API_HOST);
export const socket = io(`${url.host}`, {
path: `${url.pathname.replace(/^\/+/, "")}/socket.io`,
path: `${url.pathname}/socket.io`,
});