fix: Incorrectly start in Heroku mode

This commit is contained in:
NGPixel 2017-04-29 13:21:03 -04:00
parent 2db66601be
commit 3619232af2

View File

@ -13,7 +13,7 @@ module.exports = {
* Detect the most appropriate start mode
*/
startDetect: function () {
if (!process.env.IS_HEROKU) {
if (process.env.IS_HEROKU) {
return this.startInHerokuMode()
} else {
return this.startInBackgroundMode()