update domain name

这个提交包含在:
AJ ONeal 2016-10-18 15:33:07 -06:00
父节点 1ceb55cf57
当前提交 6e81504743
共有 3 个文件被更改,包括 3 次插入3 次删除

查看文件

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

查看文件

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

查看文件

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