Add default response message to websocketresources

// FREEBIE
This commit is contained in:
lilia 2015-07-28 14:57:09 -07:00
parent 44b7b32385
commit 1af8bd16b7
2 changed files with 2 additions and 2 deletions

View file

@ -38568,7 +38568,7 @@ TextSecureWebSocket = function (url, opts) {
var handleRequest = opts.handleRequest;
if (typeof handleRequest !== 'function') {
handleRequest = function(request) {
request.respond(404);
request.respond(404, 'Not found');
};
}
this.sendRequest = function(options) {

View file

@ -97,7 +97,7 @@
var handleRequest = opts.handleRequest;
if (typeof handleRequest !== 'function') {
handleRequest = function(request) {
request.respond(404);
request.respond(404, 'Not found');
};
}
this.sendRequest = function(options) {