greenlock-hapi.js/index.js

9 lines
289 B
JavaScript
Raw Permalink Normal View History

2017-01-18 00:02:55 +00:00
'use strict';
2018-05-10 19:35:48 +00:00
module.exports = require('greenlock-express');
module.exports._greenlockExpressCreate = module.exports.create;
module.create = function (opts) {
opts._communityPackage = opts._communityPackage || 'greenlock-hapi';
return module.exports._greenlockExpressCreate(opts);
};