acme.js/lib/node/http.js

10 lines
196 B
JavaScript
Raw Permalink Normal View History

2019-10-04 23:35:59 +00:00
'use strict';
var http = module.exports;
var promisify = require('util').promisify;
var request = promisify(require('@root/request'));
2020-07-28 21:53:50 +00:00
http.request = function (opts) {
2019-10-04 23:35:59 +00:00
return request(opts);
};