fix README api example

This commit is contained in:
Roman Shtylman
2013-06-17 02:12:54 -04:00
parent ed5aa3f16b
commit 13afcff1ae

View File

@@ -29,9 +29,9 @@ You can restart your local server all you want, ```lt``` is smart enough to dete
The localtunnel client is also usable through an API (for test integration, automation, etc) The localtunnel client is also usable through an API (for test integration, automation, etc)
```javascript ```javascript
var lt_client = require('localtunnel').client; var localtunnel = require('localtunnel');
var client = lt_client.connect({ var client = localtunnel.connect({
// the localtunnel server // the localtunnel server
host: 'http://localtunnel.me', host: 'http://localtunnel.me',
// your local application port // your local application port