mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-11-01 05:09:10 +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:
1 parent
d9bc11b520
commit
fbfc923a7e
3 files changed
+8
-6
No files matched your search
+2
-2
@@ -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