Преглед изворни кода

fix: Incorrectly start in Heroku mode

NGPixel пре 8 година
родитељ
комит
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
    */
   startDetect: function () {
-    if (!process.env.IS_HEROKU) {
+    if (process.env.IS_HEROKU) {
       return this.startInHerokuMode()
     } else {
       return this.startInBackgroundMode()