mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-03-13 21:45:54 +00:00
remove connect export in favor of single function
Since connect was the only function exported, we can just export the function directly to make things simpler.
This commit is contained in:
@@ -21,7 +21,7 @@ test('setup local http server', function(done) {
|
||||
});
|
||||
|
||||
test('setup localtunnel client', function(done) {
|
||||
var client = localtunnel.connect({
|
||||
var client = localtunnel({
|
||||
port: test._fake_port
|
||||
});
|
||||
|
||||
@@ -67,7 +67,7 @@ test('query localtunnel server w/ ident', function(done) {
|
||||
});
|
||||
|
||||
test('request specific domain', function(done) {
|
||||
var client = localtunnel.connect({
|
||||
var client = localtunnel({
|
||||
port: test._fake_port,
|
||||
subdomain: 'abcd'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user