From 6f6d7634d5a4873b6eafbede85f70424091a5fbf Mon Sep 17 00:00:00 2001 From: NGPixel Date: Mon, 15 May 2017 00:30:21 -0400 Subject: [PATCH] fix: heroku - removed server boot from init script [ci skip] --- server/init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/init.js b/server/init.js index 050720d5..95b3ed52 100644 --- a/server/init.js +++ b/server/init.js @@ -49,8 +49,8 @@ module.exports = { * Start in Heroku mode */ startInHerokuMode: function () { - console.info('Initializing Wiki.js for Heroku...') - require('./server.js') + console.warn('Incorrect command on Heroku, use instead: node server') + process.exit(1) }, /** * Stop Wiki.js process(es)