Created
February 10, 2014 06:02
-
-
Save mikermcneil/8911041 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To disable socket.io, disable the sockets hook (you'll have to disable the pubsub hook as well) | |
// This is a replacement for the default app.js file: | |
require('sails').lift({ | |
hooks: { | |
sockets: false, | |
pubsub: false | |
} | |
}, function doneLifting (err) { if (err) throw err; }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI: you need to also remove client-side javascript for sockets, see: balderdashy/sails#3580 (comment)