我该怎么办?
heroku labs:enable websockets
heroku说: - WARNING: This feature is experimental and may change or be removed without notice.
或使用: -
io.configure(function () {
io.set("transports", ["xhr-polling"]);
io.set("polling duration", 10);
});
牢记稳定。
答案 0 :(得分:0)
Heroku Labs: - 用于heroku的beta版本。它此刻不稳定。
io.configure(function () {
io.set("transports", ["xhr-polling"]);
io.set("polling duration", 10);
});
以上情况稳定。