2
0
Эх сурвалжийг харах

fix: Incorrectly start in Heroku mode

NGPixel 8 жил өмнө
parent
commit
3619232af2
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      server/init.js

+ 1 - 1
server/init.js

@@ -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()