enhance: socketio sharing /api route

This commit is contained in:
Julian Krauser 2025-07-26 11:47:49 +02:00
parent fcf37bb4c1
commit 9b4e1e17c0

View file

@ -20,6 +20,7 @@ export default abstract class SocketServer {
public static init(httpServer: httpServerType) {
this.io = new Server(httpServer, {
path: "/api/socket.io",
cors: {
origin: "*",
methods: ["GET", "POST"],