Changes to connection system to support docker

This commit is contained in:
Karmaa
2025-03-12 18:59:03 -05:00
parent bd79e1e5c3
commit 615c8d4ceb
5 changed files with 25 additions and 12 deletions

View File

@@ -4,6 +4,7 @@ const SSHClient = require("ssh2").Client;
const server = http.createServer();
const io = socketIo(server, {
path: "/ssh.io/socket.io",
cors: {
origin: "*",
methods: ["GET", "POST"],