Skip to content

Commit

Permalink
Merge pull request #25 from halfer/master
Browse files Browse the repository at this point in the history
Fixes a log message spelling error
  • Loading branch information
hkdobrev authored Sep 29, 2016
2 parents f31e21c + a541f70 commit f49536a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/phantom.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ server.listen(server_port, function (request, response)
* Execute a callback if the method and url match
* @param {string} method http method
* @param {string} url url request
* @param {callback} callback the callback to be executed, recieves matched url paramters from the regex
* @param {callback} callback the callback to be executed, receives matched url paramters from the regex
* @return {response} this
*/
request.connect = function (method, url, callback) {
Expand All @@ -93,7 +93,7 @@ server.listen(server_port, function (request, response)
return this;
};

console.log('Recieved command ', request.method, request.url, request.post ? request.post.value : '');
console.log('Received command ', request.method, request.url, request.post ? request.post.value : '');

response.statusCode = 200;

Expand Down

0 comments on commit f49536a

Please sign in to comment.