LockstepDemo
LockstepDemo copied to clipboard
乐观帧同步网页示例,支持断线重连。(使用node.js + socket.io开发)
之前一个提问,但是已经解决。。
``` Access to XMLHttpRequest at ‘http://127.0.0.1:3000/socket.io/?EIO=3&transport=polling&t=OyAd7iL’ from origin ‘http://127.0.0.1:8080’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. GET http://127.0.0.1:3000/socket.io/?EIO=3&transport=polling&t=OyAd7iL net::ERR_FAILED 400 (Bad Request)...