Skip to content

Commit

Permalink
Adds https (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Mar 20, 2018
1 parent 3770550 commit ca537c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/host/nodejs.js
Expand Up @@ -9,6 +9,7 @@
/*global _gpfExit:true*/ // Exit function
/*global _gpfNodeFs:true*/ // Node/PhantomJS require("fs")
/*exported _gpfNodeHttp*/ // Node require("http")
/*exported _gpfNodeHttps*/ // Node require("https")
/*exported _gpfNodeUrl*/ // Node require("url")
/*#endif*/

Expand All @@ -24,6 +25,13 @@ var
*/
_gpfNodeHttp,

/**
* require("https")
*
* @type {Object}
*/
_gpfNodeHttps,

/**
* require("url")
*
Expand All @@ -43,6 +51,7 @@ _gpfBootImplByHost[_GPF_HOST.NODEJS] = function () {

_gpfNodeFs = require("fs");
_gpfNodeHttp = require("http");
_gpfNodeHttps = require("https");
_gpfNodeUrl = require("url");

/* istanbul ignore next */ // exit.1
Expand Down

0 comments on commit ca537c5

Please sign in to comment.