这个提交包含在:
AJ ONeal 2018-06-22 23:52:47 -06:00
父节点 6f88490abe
当前提交 0a14bbd84c
共有 2 个文件被更改,包括 6 次插入1 次删除

查看文件

@ -250,7 +250,7 @@ module.exports.assign = function (state, tun, cb) {
// 1. No modification handlerpath may be an aboslute path
// 2. it may be relative to a user home directory
// 3. it may be relative to a user local/share
// 3. it may be relative to a user ~/local/share
tlsSocket._tun = tun;
tlsSocket._id = id;
@ -260,6 +260,7 @@ module.exports.assign = function (state, tun, cb) {
}
if (/^~/.test(handlerpath)) {
// TODO have the telebit remote tell which user is running
handlerpath = path.join(homedir, handlerpath.replace(/^~(\/?)/, ''));
}

查看文件

@ -15,4 +15,8 @@ urequest(req, function (err, resp, body) {
}
console.log('Done:');
console.log(body);
/*
body.status = 'ready' | 'pending' | 'complete' | 'invalid'
body.access_token // only in 'ready' state
*/
});