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