diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-07-10 17:40:27 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-07-10 17:40:27 +0200 |
| commit | f58d2aa83a3c4d160951c6ca369130301e7ee254 (patch) | |
| tree | 11ff1d20b9d1401d38ae8449ddc940aed2ea3002 /index.js | |
| parent | 5d59a46e72d2a4b7f905c1b1960d237de9c24db8 (diff) | |
jules cv
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 + '...'); |
