mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Add default response message to websocketresources
// FREEBIE
This commit is contained in:
parent
44b7b32385
commit
1af8bd16b7
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue