浏览代码

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