aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.js
diff options
context:
space:
mode:
authorErling Aaby <erlinaa@stud.hist.no>2013-04-29 09:04:34 +0200
committerErling Aaby <erlinaa@stud.hist.no>2013-04-29 09:04:34 +0200
commitdebff17d342496da05a3c6ead1a11371409b52ac (patch)
tree601f7cc49ff7d1900b30e797fecdd41581c0f208 /app.js
parentadded temp file for work (diff)
downloadDivid-debff17d342496da05a3c6ead1a11371409b52ac.tar.gz
created faq.ejs, added imgs, modified app.js
Diffstat (limited to '')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 9fcfc31..95f0b64 100644
--- a/app.js
+++ b/app.js
@@ -17,7 +17,7 @@ var app = express(); // initiates express
app.configure(function(){
// this controls the port the application will be running on.
// by adding 'process.enc.PORT' we enable the app to run on automated systems like heroku
- app.set('port', process.env.PORT || 3000);
+ app.set('port', process.env.PORT || 8001);
app.set('views', __dirname + '/views'); // sets views to the right directory
app.set('view engine', 'ejs'); // initiates viewengine. We use EJS, or embedded js - http://embeddedjs.com/