io.sockets.emit() won't work in production

后端 未结 0 1982
梦如初夏
梦如初夏 2021-01-25 03:11

I am trying to setup a socket in production like so:

client :

import openSocket from \'socket.io-client\';

function handleSomething() {
    let socketServ         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题