aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Kavlie <akavlie@gmail.com>2011-11-11 19:11:14 -0700
committerAaron Kavlie <akavlie@gmail.com>2011-11-11 19:11:14 -0700
commitd9a4cb2ecd978d932f54bc0cab051b1893865058 (patch)
treef08e62da687cae16b9876a7a9589bca94b14bbc1
parent4e4cff506c9c66e87c1b8dde8eeef9a8fe48ea47 (diff)
downloadreevo-webirc-d9a4cb2ecd978d932f54bc0cab051b1893865058.tar.gz
reevo-webirc-d9a4cb2ecd978d932f54bc0cab051b1893865058.zip
Fix server config so app doesn't try to listen twice in production.
-rw-r--r--server.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/server.js b/server.js
index 591db3b..bd382b8 100644
--- a/server.js
+++ b/server.js
@@ -5,8 +5,9 @@ var express = require('express'),
5 5
6app.configure(function() { 6app.configure(function() {
7 app.use(express.static(__dirname + '/')); 7 app.use(express.static(__dirname + '/'));
8 app.use(express.static(__dirname + '/js')); 8});
9 app.use(express.static(__dirname + '/images')); 9
10app.configure('development', function() {
10 app.listen(8337); 11 app.listen(8337);
11}); 12});
12 13