소스 검색

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