feat(utilities): changes socketio
This commit is contained in:
parent
e7385e97cb
commit
71da892d77
1 changed files with 2 additions and 2 deletions
|
|
@ -37,9 +37,9 @@ module.exports = {
|
|||
const io = _io(server, {
|
||||
cors: {
|
||||
origin: "*",
|
||||
// methods: ["GET", "POST", "PUT"]
|
||||
methods: ["GET", "POST", "PUT"]
|
||||
},
|
||||
path: '/assist/socket'
|
||||
path: '/socket'
|
||||
});
|
||||
|
||||
io.on('connection', (socket) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue