diff --git a/bin/stunnel.js b/bin/stunnel.js index 027dd2a..5e8e5dd 100755 --- a/bin/stunnel.js +++ b/bin/stunnel.js @@ -76,7 +76,7 @@ program .parse(process.argv) ; -program.stunneld = program.stunneld || 'wss://pokemap.hellabit.com:3000'; +program.stunneld = program.stunneld || 'wss://tunnel.daplie.com'; var jwt = require('jsonwebtoken'); var domainsMap = {}; diff --git a/client.js b/client.js index 273951a..01e123e 100644 --- a/client.js +++ b/client.js @@ -9,7 +9,7 @@ var sni = require('sni'); // Assumption: will not get next tcp packet unless previous packet succeeded //var services = { 'ssh': 22, 'http': 80, 'https': 443 }; var services = { 'ssh': 22, 'http': 4080, 'https': 8443 }; -var hostname = 'aj.daplie.me'; // 'pokemap.hellabit.com' +var hostname = 'aj.daplie.me'; // 'test.hellabit.com' function addrToId(address) { return address.family + ',' + address.address + ',' + address.port; diff --git a/httpsclient.js b/httpsclient.js index 930b77e..4a750b9 100644 --- a/httpsclient.js +++ b/httpsclient.js @@ -3,7 +3,7 @@ var request = require('request'); function run(copts) { - var tunnelUrl = 'https://pokemap.hellabit.com/?access_token=' + copts.token; + var tunnelUrl = 'https://tunnel.daplie.com/?access_token=' + copts.token; request.get(tunnelUrl, { rejectUnauthorized: false }, function (err, resp) { console.log('resp.body'); console.log(resp.body);