comments
This commit is contained in:
parent
6f88490abe
commit
0a14bbd84c
|
@ -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
|
||||
*/
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue