Browse Source

fix: Incorrectly start in Heroku mode

NGPixel 8 năm trước cách đây
mục cha
commit
3619232af2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()