Commit c21a0115 by 段启岩

加入socket.io跨域

parent 3fd90097
......@@ -20,7 +20,7 @@ public class SocketIOConfig {
config.setSocketConfig(socketConfig);
config.setHostname("0.0.0.0");
config.setPort(8002);
config.setOrigin("*");
config.setOrigin(null);
config.setBossThreads(1);
config.setAllowCustomRequests(true);
config.setPingInterval(25000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment