From aa23689e8cdefda5b0ef6c09167526bf26b444f9 Mon Sep 17 00:00:00 2001 From: mgerb42 Date: Tue, 5 Jan 2016 13:00:33 -0600 Subject: [PATCH] minor fix on index --- bin/www | 2 +- routes/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/www b/bin/www index d2484eb..87ffb43 100755 --- a/bin/www +++ b/bin/www @@ -12,7 +12,7 @@ var http = require('http'); * Get port from environment and store in Express. */ -var port = normalizePort(process.env.PORT || '80'); +var port = normalizePort(process.env.PORT || '3000'); app.set('port', port); /** diff --git a/routes/index.js b/routes/index.js index a82017d..32d305f 100644 --- a/routes/index.js +++ b/routes/index.js @@ -199,7 +199,7 @@ function getPosts(callback){ jsdom.env(data,["http://code.jquery.com/jquery.js"],function (err, window) { - post.filename = file; + post.fileName = file; post.title = window.$("#title").text(); post.date = window.$("#date").text(); post.intro = window.$("#intro").text();