Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix server config so app doesn't try to listen twice in production.

  • Loading branch information...
commit d9a4cb2ecd978d932f54bc0cab051b1893865058 1 parent 4e4cff5
@akavlie authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 server.js
View
5 server.js
@@ -5,8 +5,9 @@ var express = require('express'),
app.configure(function() {
app.use(express.static(__dirname + '/'));
- app.use(express.static(__dirname + '/js'));
- app.use(express.static(__dirname + '/images'));
+});
+
+app.configure('development', function() {
app.listen(8337);
});
Please sign in to comment.
Something went wrong with that request. Please try again.