Answers for "socket io from origin has been blocked by cors policy"

6

socket io with cors

const io = require("socket.io")(httpServer, 
  { 
  cors: {    
    origin: "*",    
    methods: ["GET", "POST"]  
  }});
Posted by: Guest on December-25-2020

Code answers related to "socket io from origin has been blocked by cors policy"

Code answers related to "Javascript"

Browse Popular Code Answers by Language