From f58d2aa83a3c4d160951c6ca369130301e7ee254 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 10 Jul 2019 17:40:27 +0200 Subject: jules cv --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.js') diff --git a/index.js b/index.js index 55ca708..afb8ab9 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ var okcms = require('okcms') var isProduction = process.env.OK_PRODUCTION === 'true' -var PORT = isProduction ? 6502 : 1337 +var PORT = process.env.PORT || 1337 var viewConfig = { template: 'index', @@ -14,7 +14,7 @@ var viewConfig = { var app = okcms.createApp({ - project: 'OKFocus Portfolio', + project: 'Jules Laplace Portfolio', debug: !isProduction, production: isProduction, @@ -80,4 +80,4 @@ var app = okcms.createApp({ }).listen(PORT || 1337) -console.log('Server listening at port ' + (PORT || 1337) + '...'); +console.log('Server listening at port ' + PORT + '...'); -- cgit v1.2.3-70-g09d2