Skip to content
Browse files

fixed a typo in the route example

  • Loading branch information...
1 parent 0775826 commit ef9db01008ebc3be73ac5bb95d02afab515cfd3e @substack committed
Showing with 2 additions and 3 deletions.
  1. +1 −1 README.markdown
  2. +1 −1 example/route.js
  3. +0 −1 test/ws.js
View
2 README.markdown
@@ -23,7 +23,7 @@ bouncy(function (req, bounce) {
if (req.headers.host === 'beep.example.com') {
bounce(8001);
}
- else if (req.headers.host === 'boop.example.come') {
+ else if (req.headers.host === 'boop.example.com') {
bounce(8002)
}
}).listen(8000);
View
2 example/route.js
@@ -4,7 +4,7 @@ bouncy(function (req, bounce) {
if (req.headers.host === 'beep.example.com') {
bounce(8001);
}
- else if (req.headers.host === 'boop.example.come') {
+ else if (req.headers.host === 'boop.example.com') {
bounce(8002)
}
}).listen(8000);
View
1 test/ws.js
@@ -3,7 +3,6 @@ var bouncy = require('../');
var ws = require('websocket-server');
var wc = require('websocket-client').WebSocket;
-
test('ws', function (t) {
t.plan(4);

0 comments on commit ef9db01

Please sign in to comment.
Something went wrong with that request. Please try again.