1. 首页
  2. 数据库
  3. 其它
  4. 微信小程序 +nodejs+socket.io bug

微信小程序 +nodejs+socket.io bug

上传者: 2021-05-05 12:47:07上传 PDF文件 47.45KB 热度 29次
问题描述:技术 nodejs socket.io 微信小程序 源码 server.js const http = require('http').Server(app) const io = require('socket.io')(http) app.use(function(req, res, next) { res.setHeader('Access-Control-Allow-Origin', '*') res.setHeader('Access-Control-Allow-Credentials', true) res.setHeader('Acc
下载地址
用户评论