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();