Permalink
Browse files

no versions in the simple example

  • Loading branch information...
1 parent d5f0edc commit fb76ece71d7fe8f4c00dc7b46063e8b59e0b0486 @substack committed Feb 2, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 example/service/client.js
  2. +1 −1 example/service/server.js
@@ -2,7 +2,7 @@ var seaport = require('../../');
var ports = seaport.connect('localhost', 9090);
var request = require('request');
-ports.get('http@0.0.x', function (ps) {
+ports.get('http', function (ps) {
var u = 'http://' + ps[0].host + ':' + ps[0].port;
request(u).pipe(process.stdout);
});
@@ -6,6 +6,6 @@ var server = http.createServer(function (req, res) {
res.end('beep boop\r\n');
});
-ports.service('http@0.0.0', function (port, ready) {
+ports.service('http', function (port, ready) {
server.listen(port, ready);
});

0 comments on commit fb76ece

Please sign in to comment.