Permalink
Browse files

merge

  • Loading branch information...
2 parents 9a48bb4 + b9b0435 commit 7c15494cdd574b4127d617be17192666434c95e6 root committed Jun 3, 2011
Showing with 7 additions and 5 deletions.
  1. +1 −1 package.json
  2. BIN public/swf/LiveGallery.swf
  3. +6 −3 server.js
  4. +0 −1 vendor/beseda
View
@@ -15,7 +15,7 @@
},
"dependencies" : {
"redis-node" : ">=0.4.0",
- "beseda" : "*",
+ "beseda" : ">=0.0.8",
"imagemagick" : "*"
},
"engines" : [ "node >=0.4" ]
Binary file not shown.
View
@@ -3,8 +3,8 @@ var http = require('http'),
redis = require('redis-node'),
im = require('imagemagick'),
qs = require('querystring'),
- Beseda = require('./vendor/beseda/server'),
- Router = require('./vendor/beseda/server/lib/router.js');
+ Beseda = require('beseda'),
+ Router = require('beseda/server/lib/router.js');
var redisClient = redis.createClient(6379/*, '192.168.1.161'*/);
@@ -69,7 +69,10 @@ function newMessageRequest(request, response) {
var data = '';
request.on('data', function(chunk){ data += chunk; });
- request.on('end', function(){ applyMessage(data); });
+ request.on('end', function(){
+ applyMessage(data);
+ response.end();
+ });
}
function deleteAllMessagesRequest(request, response) {
Submodule beseda deleted from 527724

0 comments on commit 7c15494

Please sign in to comment.