socket.io + node.js on heroku

前端 未结 6 1229
后悔当初
后悔当初 2021-01-03 06:55

I\'m having some issues in compiling a socket.io app on heroku.

Thats the app.js file

var app = require(\'express\').createServer()
   , io = require         


        
6条回答
  •  生来不讨喜
    2021-01-03 07:53

    I've posted an answer to a similar question at deploy nodejs to heroku and that seems to have solved the problem.

    Basically try using socket.io 0.9.6 instead of 0.9.8.

提交回复
热议问题