update domain name
This commit is contained in:
parent
1ceb55cf57
commit
6e81504743
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue