update domain name

This commit is contained in:
AJ ONeal 2016-10-18 15:33:07 -06:00
parent 1ceb55cf57
commit 6e81504743
3 changed files with 3 additions and 3 deletions

View File

@ -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 = {};

View File

@ -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;

View File

@ -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);