fix: Incorrectly start in Heroku mode
This commit is contained in:
parent
2db66601be
commit
3619232af2
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user