diff --git a/src/index.js b/src/index.js index a321f52..f5761a3 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,10 @@ const style = require("ansi-styles"); const Gamedig = require("gamedig"); const io = require("socket.io")(server, { - path: "/socket.io" + path: "/socket.io", + cors: { + origin: true + } }); var ns = {