move https from ws
This commit is contained in:
parent
1b0ce88988
commit
6584b1ef89
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
var request = require('request');
|
||||
|
||||
function run(copts) {
|
||||
var tunnelUrl = 'https://pokemap.hellabit.com/?access_token=' + copts.token;
|
||||
request.get(tunnelUrl, { rejectUnauthorized: false }, function (err, resp) {
|
||||
console.log('resp.body');
|
||||
console.log(resp.body);
|
||||
});
|
||||
}
|
||||
|
||||
module.exports.connect = run;
|
Loading…
Reference in New Issue