var express = require('express')
  , routes = require('./routes');

var app = module.exports = express.createServer();

app.configure(function() {
  app.set('port', (process.env.PORT || 3000));
  app.set('views', __dirname + '/views');
  app.set('view engine', 'jade');
  app.use(express.bodyParser());
  app.use(express.methodOverride());
  app.use(app.router);
  app.use(express.static(__dirname + '/public'));
});


// Routes
app.get('/', routes.index);


app.listen(app.get('port'), function() {
  console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);
});

@@ -114,84 +114,73 @@
 er()
-;%0A%0Aapp.configure(function() %7B%0A  app.set('port', (process.env.PORT %7C%7C 3000));
+%0A  , port = process.env.PORT %7C%7C 3000;%0A%0Aapp.configure(function() %7B
 %0A  a
@@ -456,23 +456,12 @@
 ten(
-app.get('
 port
-')
 , fu

Fix app port